Announcement
Collapse
No announcement yet.
Problem to send command to multiple devices [hs3]
Collapse
X
-
Problem to send command to multiple devices [hs3]
Please excuse any spelling and grammatical errors I may make.
--
Tasker Plugin / Speech Droid
Tonlof | SwedenTags: None
-
It looks like you have some kind of PlcBus collision problem, because the HS3 plugin is sending commands to switch off all your lights, but at the same time receives the same commands (B5 and B6 off) from something else.
However, why don't you program a single PlcBus scene to switch all your devices off with a single PlcBus command ?--
stipus
-
Okey, thanks Stipus.
I have to take a look how to program scenes. I did it for many years ago but don't remember how I did.Please excuse any spelling and grammatical errors I may make.
--
Tasker Plugin / Speech Droid
Tonlof | Sweden
Comment
-
Ahh, I remeber wrong that I had to press learnbuttons etc but this was really easy with your plugin. I have now made made some test scenes
Yes I have 3-phase...Please excuse any spelling and grammatical errors I may make.
--
Tasker Plugin / Speech Droid
Tonlof | Sweden
Comment
-
I fixed the problem.
In the next version, the plugin will print an error message to the event log for a similar problem.
From your log, I think the plugin should - in 3-phase mode - ignore all the echoes with the 3-phase bit not set.
Can I ask you for more logs to better debug the 3-phase mode ?
- Log of a device switch on on the same phase as the 1141
- Log of a device switch on on another phase than the 1141
- Log of a device poll on the same phase as the 1141
- Log of a device poll on another phase than the 1141
- Log of a house-code wide poll with devices on both phases
Thanks,
stipus--
stipus
Comment
-
On command + Poll on same phase.
On command + Poll on other phase.Please excuse any spelling and grammatical errors I may make.
--
Tasker Plugin / Speech Droid
Tonlof | Sweden
Comment
-
Hello, and thank you for the logs.
When you POLL a module on the same phase, do you always get the too long wait for Ack response to command and "Unknown" module status ?
To " Log a house-code wide poll with devices on both phases":
If you have a letter code, such as H with modules on both phase (H1 on phase 1, H2 on phase 2),
- Create a HomeSeer PlcBus House device, with House Code H
- On the PlcBus House device, there is a POLL button that sends a Fast Poll command to all H devices. That's the log I need.
Regards,
stipus--
stipus
Comment
-
Hi, Yes I have "too long wait for Ack" in many request.
Here is the log with 2 phases.
Mar-26 18:19:49 PLCBUS Debug Received: (255) H1 ReportAllIdPulse3Phase Data1:0 Data2:15 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:True
Mar-26 18:19:48 PLCBUS Debug Sent: (255) H1 GetOnlyOnIdPulse Data1:0 Data2:0 Tx:True AckReq:False Ack:False IDreq:True Id:False 3PhReq:True RiscOK:True PlcBusOK:True
Mar-26 18:19:48 PLCBUS Debug Sending: (255) H1 GetOnlyOnIdPulse Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:True Id:False 3PhReq:True RiscOK:False PlcBusOK:False
Mar-26 18:19:48 PLCBUS Debug SetIO[] name=[Poll] address=[255-H] type=[PlcBus House] controlValue=[303]
Mar-26 18:19:48 Device Control Device: Unknown Unknown Poll to Poll (303) by/from: CAPI Control Handler
H1 Signal Strength = 12 Device 1
H2 Signal Strength = 14 Device 1
H3 Signal Strength = 10 Device 2
H4 Signal Strength = 5 Device 2
ThanksPlease excuse any spelling and grammatical errors I may make.
--
Tasker Plugin / Speech Droid
Tonlof | Sweden
Comment
-
Thank you.
I can see 3-Phase-House-Code-Wide-Fast-Polling is broken in the version you have. This will be fixed in the next version.
You said:
Yes I have "too long wait for Ack" in many request.
When you POLL B6, do you always get the Ack error, or sometimes you get the Ack ?
Did you try to reverse the polarity on B6 if it's a plugin module ?--
stipus
Comment
-
Originally posted by stipus View PostThank you.
When you POLL B6, do you always get the Ack error, or sometimes you get the Ack ?
Did you try to reverse the polarity on B6 if it's a plugin module ?
When PLCBUS-1141 sends a STATUS-REQUEST command, and waits for an ACK, the ACK never comes if the module is plugged to the same phase as the 1141.
Instead, the plugin gets a STATUS-ON or STATUS-OFF that has to be interpreted as a ACK.
This will be fixed in the next version.--
stipus
Comment
-
Originally posted by stipus View PostI found this is a bug in the plugin for 3-phase mode:
When PLCBUS-1141 sends a STATUS-REQUEST command, and waits for an ACK, the ACK never comes if the module is plugged to the same phase as the 1141.
Instead, the plugin gets a STATUS-ON or STATUS-OFF that has to be interpreted as a ACK.
This will be fixed in the next version.Please excuse any spelling and grammatical errors I may make.
--
Tasker Plugin / Speech Droid
Tonlof | Sweden
Comment
Comment