Notdienst Apotheke via jsonmod

Begonnen von binford6000, 27 März 2023, 14:10:27

Vorheriges Thema - Nächstes Thema

Sailor

Moin tosammen

Ich habe mich an die Vorschläge gehalten inklusive

attr apotheke2 get2Data tx_aponetpharmacy_search[action]=result&tx_aponetpharmacy_search[controller]=Search&tx_aponetpharmacy_search[search][plzort]=Hamburg&tx_aponetpharmacy_search[search][date]=&tx_aponetpharmacy_search[search][street]=+&tx_aponetpharmacy_search[search][radius]=5&tx_aponetpharmacy_search[search][lat]=&tx_aponetpharmacy_search[search][lng]=

und bekomme eine Fehlermeldung im Log:



2026.08.07 13:15:58.458 3: apotheke2: error while parsing JSON data: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 3 (before "<div class="tx-apone...") at lib/FHEM/HTTPMOD/Utils.pm line 701.

2026.08.07 13:15:58.458 3: apotheke2: Content-Type was  application/json
2026.08.07 13:16:20.740 3: apotheke2: timer interval changed to 60 seconds
2026.08.07 13:16:51.528 3: apotheke2: Content-Type was  text/html; charset=utf-8
2026.08.07 13:16:52.312 3: apotheke2: error while parsing JSON data: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 3 (before "<div class="tx-apone...") at lib/FHEM/HTTPMOD/Utils.pm line 701.

2026.08.07 13:16:52.312 3: apotheke2: Content-Type was  application/json

und auch kein Reading mit Ausnahme

data-token <Jede Menge Hex Zahlen>

Ist die Seite wieder umgestrickt worden oder mache ich was falsch?

Gruß
    Sailor
******************************
Man wird immer besser...