oklona / Miele-MQTT

A very simple script to read data from Miele@home cloud services, and publish using Mosquitto MQTT
21 stars 10 forks source link

Stopped working, script errors #4

Closed DUSAG0211 closed 5 years ago

DUSAG0211 commented 5 years ago

Hi Ole, script 0.14 is not working anymore. I get following errors when executing the script:

PHP Warning: array_search() expects parameter 2 to be array, null given in /storage/docker/openhab/userdata/miele-MQTT.php on line 239 PHP Warning: Invalid argument supplied for foreach() in /storage/docker/openhab/userdata/miele-MQTT.php on line 253

There seems to be a problem with the $data variable which never gets filled?!

DUSAG0211 commented 5 years ago

After issuing a completely new config today, which did not work yesterday, the script is actually working again. So could not reproduce this error