You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot use 'in' operator to search for 'fan' in undefined
at /usr/local/lib/node_modules/haiku2mqtt/dist/index.js:84:26
at Array.reduce ()
at SafeSubscriber._next (/usr/local/lib/node_modules/haiku2mqtt/dist/index.js:83:28)
at SafeSubscriber.__tryOrUnsub (/usr/local/lib/node_modules/haiku2mqtt/node_modules/rxjs/Subscriber.js:242:16)
at SafeSubscriber.next (/usr/local/lib/node_modules/haiku2mqtt/node_modules/rxjs/Subscriber.js:189:22)
at Subscriber._next (/usr/local/lib/node_modules/haiku2mqtt/node_modules/rxjs/Subscriber.js:129:26)
at Subscriber.next (/usr/local/lib/node_modules/haiku2mqtt/node_modules/rxjs/Subscriber.js:93:18)
at CatchSubscriber.Subscriber._next (/usr/local/lib/node_modules/haiku2mqtt/node_modules/rxjs/Subscriber.js:129:26)
at CatchSubscriber.Subscriber.next (/usr/local/lib/node_modules/haiku2mqtt/node_modules/rxjs/Subscriber.js:93:18)
at MqttClient. (/usr/local/lib/node_modules/haiku2mqtt/dist/index.js:139:24)
The text was updated successfully, but these errors were encountered:
Not sure if my issue relates to the port? or another issue altogether, if I start haiku2mqtt like this:
haiku2mqtt -b mqtt://127.0.0.1:1881
I get:
server listening 0.0.0.0:31415
Then as soon as I try to switch the fan off via home assistant's MQTT fan component I get the error:
/usr/local/lib/node_modules/haiku2mqtt/node_modules/rxjs/Subscriber.js:246
throw err;
^
TypeError: Cannot use 'in' operator to search for 'fan' in undefined
at /usr/local/lib/node_modules/haiku2mqtt/dist/index.js:84:26
at Array.reduce ()
at SafeSubscriber._next (/usr/local/lib/node_modules/haiku2mqtt/dist/index.js:83:28)
at SafeSubscriber.__tryOrUnsub (/usr/local/lib/node_modules/haiku2mqtt/node_modules/rxjs/Subscriber.js:242:16)
at SafeSubscriber.next (/usr/local/lib/node_modules/haiku2mqtt/node_modules/rxjs/Subscriber.js:189:22)
at Subscriber._next (/usr/local/lib/node_modules/haiku2mqtt/node_modules/rxjs/Subscriber.js:129:26)
at Subscriber.next (/usr/local/lib/node_modules/haiku2mqtt/node_modules/rxjs/Subscriber.js:93:18)
at CatchSubscriber.Subscriber._next (/usr/local/lib/node_modules/haiku2mqtt/node_modules/rxjs/Subscriber.js:129:26)
at CatchSubscriber.Subscriber.next (/usr/local/lib/node_modules/haiku2mqtt/node_modules/rxjs/Subscriber.js:93:18)
at MqttClient. (/usr/local/lib/node_modules/haiku2mqtt/dist/index.js:139:24)
The text was updated successfully, but these errors were encountered: