codmpm / node-red-contrib-loxone

Connect the Loxone Miniserver to node-red via the Websocket API
MIT License
74 stars 24 forks source link

Nodes get disconnected and others are still connected #23

Closed mabunixda closed 6 years ago

mabunixda commented 6 years ago

Hi,

i just began integrating our blinds into node-red with alexa and i am observing this pattern: nodered-loxone-notconnected

Some blinds work correct via alexa. The function block just sets Up/Down as payload when On/Off is sent. On the other side blinds that do not work, the gets no status update after a command is sent via alexa. At this time also other nodes get no status shown in node-red. In the console output is no error reported :(

Is this issue related to #12 ?

Martin

codmpm commented 6 years ago

Hey @mabunixda,

as I have no Alexa I can not test this. Maybe @thmeger can double check if this behavior lies in Alexa or in node-red-contrib-loxone.

The connected/disconnected info is only updated on a full-deploy. That's where #12 ist related as this bit of information in the editor needs to be better. Nevertheless all nodes are "connected" as long as the single connection to the miniserver is online.

Cheers, Patrik

thmeger commented 6 years ago

I don't have any problems controlling blinds with Node-RED and Alexa via Loxone. Please try to create a little Dashboard-button or use a normal inject node to start the specific nodes in that flow and see whether that works in lieu of using Alexa node.

mabunixda commented 6 years ago

It is a Loxone problem - the central blinds elements ( "type":"CentralJalousie" ) cannot be controlled via the api. When i change the webservice node to the dedicated blinds then it works as expected.

I do not understand those design principles of loxone software ... I gonna update to the latest beta right now and test if there is work still the same. If yes, i gonna open a bug.

codmpm commented 6 years ago

I'm with you. I have not tested node-red-contrib-loxone to the latest beta, yet.

Just for my head: Can you control CentralJalousie from the smartphone-app?

mabunixda commented 6 years ago

Yeah you are right ... got it: /FullDown and /FullUp are the correct commands