@pavelf said in EVOK sends but is not receiving:
k
Hi, there is an instance of nodered running which connects via websocket in multiple flows hence the multiple connections.
Any other ideas? the commands to relays are working, it's just the evok web which seems not to be getting any response from relays...
One more thing I found out:
when I run the following command
gpio -x mcp23008:100:0x20:0 readall
I get the following result:
+------+---------+--------+
| Pin | Digital | Analog |
+------+---------+--------+
| 100 | 0 | 0 |
| 101 | 0 | 0 |
| 102 | 0 | 0 |
| 103 | 0 | 0 |
| 104 | 0 | 0 |
| 105 | 1 | 0 |
| 106 | 1 | 0 |
| 107 | 1 | 0 |
+------+---------+--------+
The "Digital" column actually shows values according to reality, unlike EVOK which only shows last state I did set to relays in evok, and not showing its actual value.
One more thing:
I am using FHEM app where it is actually the same problem - I can switch relays there, but the changes to relay state done by other app (e.g. in Evok web) are not shown there and vice versa.
So I suspect this must be something in pigpio. Unfortunately i tried to do some diagnostics using PIGS command but I could not find syntax to read relay states to verify the PIGPIO is causing the issue...