Zitat von: mrb am 27 April 2024, 17:14:26die routinen habe ich mir klar angeschaut, aber bis dato wird mir mein dummy da nicht angezeigtDann ist halt an dem dummy was falsch...
Zitat von: mrb am 27 April 2024, 16:48:52Aber ein "Alexa wie ist der Zustand der Solaranlage" geht nicht da er von der Amazon-Cloud einen Webhook oder ähnliches auf meinem Fhem ausführen müsste
Zitat von: mrb am 27 April 2024, 16:13:37Wie bekommt man die Brücke zwischen Alexa und Fhem hier hin. DAS ist das Problem. Ich bekomme ja nur über das Alexa-Modul an/aus hin und nicht das gewünschte "Alexa gebe mir die Watt der Sollaranlage" da es ja nicht ein Attributtyp ist den das Modul kann.Verstehe ich überhaupt nicht...
Zitat von: MadMax-FHEM am 27 April 2024, 15:40:00Du sagst z.B. zu einem deiner Echos: "Alexa, schalte das Badlicht ein"
Dann geht (verm.) das Badlicht an...
Zitat von: mrb am 27 April 2024, 15:39:47o dann auch mal hier die frage.Warum DOPPELTHREADS bzw. "Doppel-Posts"!!?
wie kann ich meine Alexa(s) dazu bewegen kommandos im Fhem auszuführen? In der laut google "Anleitung" https://www.mwinklerblog.de/smarthome/eigene-module/echodevice/#Get fehlen Beispiele komplett. Ich möchte gerne per Alexa mein Fhem vernsteuern und meine Solaranlage abfragen wieviel Watt gerade erzeugt werden. Kann mir da einer Helfen?
Zitat von: rudolfkoenig am 26 April 2024, 09:27:33format=json ist ein Aprilscherz, damit kriegt man den Text als JSON String:
ZitatExample json-format Output
When json-format is requested, the API attempts to detect any Horizons error message(s), capture them, and report them in the error field. Thus, if the error field is present in the output, an appropriate programmatic response can be issued.
In the following successful request, the content of interest will be in the JSON result field.
{
"signature" : {
"source" : "NASA/JPL Horizons API",
"version" : "1.0"
},
"result" : " \n \n*******************************************************************************\nEphemeris / WWW_USER Tue Sep 6 22:51:14 2022 Pasadena, USA / Horizons ...
}
Zitat von: frober am 27 April 2024, 08:53:10HTTPMOD könnte evtl. eine Lösung sein.
Zitat von: Shadow3561 am 27 April 2024, 12:44:39defmod mars HTTPMOD https://ssd.jpl.nasa.gov/api/horizons.api?format=json&COMMAND=499 60
attr mars extractAllJSON 1
Den Rest musst du selber machen.