codmpm / node-red-contrib-loxone

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

Control In Node - No Data in Drop Down Box for Control and State #79

Open hndenman opened 1 year ago

hndenman commented 1 year ago

Trying to set up a temperature guage using a Control In node as the source

But when I try to specify the data for the Control and State boxes I get a bad drop down box and cannot select anything

It says that Loxone is connected to my Node-Red

Where am I going wrong?

IMG_7388

IMG_7391

IMG_7392

codmpm commented 1 year ago

Did you mark the wanted as control as "visible"?

hndenman commented 1 year ago

Hi Patrik and thank you for responding So I can see the temperature sensor output in my Loxone App - pls see photo - so I assumed that I would be able to see it in the drop down. I think I understand the way the API works is that it can only access what is shared with the App Thanks Nick


From: Patrik Mayer @.> Sent: Wednesday, July 19, 2023 8:45:16 PM To: codmpm/node-red-contrib-loxone @.> Cc: hndenman @.>; Author @.> Subject: Re: [codmpm/node-red-contrib-loxone] Control In Node - No Data in Drop Down Box for Control and State (Issue #79)

Did you mark the wanted as control as "visible"?

— Reply to this email directly, view it on GitHubhttps://github.com/codmpm/node-red-contrib-loxone/issues/79#issuecomment-1642660193, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOTKZIZQQDQMAUSUBLBEXNDXRA2MZANCNFSM6AAAAAA2QMTDKU. You are receiving this because you authored the thread.Message ID: @.***>

codmpm commented 1 year ago

Dear Nick, sadly no photo here.

hndenman commented 1 year ago

Loxone Temp Page

codmpm commented 1 year ago

Same picture in both posts ;-)

hndenman commented 1 year ago

and this is the Loxone Config set up

Screenshot Loxone Config

codmpm commented 1 year ago

Hmm. Seems good. Can you supply the Miniserver version and the JSON-Snippet from node red with your flow? Oh... and a screenshot from the used modules in LoxConfig.

hndenman commented 1 year ago

Miniserver Version

Loxone Modules

hndenman commented 1 year ago

Not sure how to find the JSON snippet

codmpm commented 1 year ago

Mark the nodes in node-red and the use the export menu entry in node-red's menu.

Not needing your extension, a screenshot of the relevant LoxConfig parts (program area with used modules) will do.

hndenman commented 1 year ago

[ { "id": "874e802864e94b5d", "type": "loxone-control-in", "z": "74aa925355c2660a", "name": "Bed 1 Temp", "miniserver": "18d65cca2f29cd26", "control": "", "state": "", "x": 130, "y": 360, "wires": [ [ "9a734e1f7a110de0" ] ] }, { "id": "9a734e1f7a110de0", "type": "ui_switch", "z": "74aa925355c2660a", "name": "", "label": "switch", "tooltip": "", "group": "eef6120571f564d1", "order": 1, "width": 0, "height": 0, "passthru": true, "decouple": "false", "topic": "topic", "topicType": "msg", "style": "", "onvalue": "true", "onvalueType": "bool", "onicon": "", "oncolor": "", "offvalue": "false", "offvalueType": "bool", "officon": "", "offcolor": "", "animate": false, "className": "", "x": 450, "y": 360, "wires": [ [] ] }, { "id": "18d65cca2f29cd26", "type": "loxone-miniserver", "host": "192.168.1.160", "port": "7777", "enctype": "0", "active": true, "keepalive": "30000" }, { "id": "eef6120571f564d1", "type": "ui_group", "name": "", "tab": "3bef7eb069d110ea", "order": 1, "disp": true, "width": "6", "collapse": false, "className": "" }, { "id": "3bef7eb069d110ea", "type": "ui_tab", "name": "Test 1", "icon": "dashboard", "disabled": false, "hidden": false } ]

hndenman commented 1 year ago

Loxone Bed 1 Temp Block

hndenman commented 1 year ago

Hi Patrik did you have any other thoughts? thanks Nick

hndenman commented 1 year ago

Hi Patrik i am running Home Assistant on an Intel NUC (not a Raspberry Pi) and am running NodeRed inside Home Assistant in case this has an impact. Thanks Nick

Piranha1511 commented 8 months ago

I also have a question to this. The controls are only available in NodeRed if these are marked as "Visible" in Loxone. But what if I don't want this and only use it in NodeRed but don't wanna make it visible in the Loxone App? Is there a way to do this?

codmpm commented 8 months ago

I also have a question to this. The controls are only available in NodeRed if these are marked as "Visible" in Loxone. But what if I don't want this and only use it in NodeRed but don't wanna make it visible in the Loxone App? Is there a way to do this?

Nope - as long as Loxone does nod add a function for this.

Put the needed elements in a romm/category that itself is not visible. That should work.