Dariusz Gertych
Dariusz Gertych
@fuCtor or @nielsgl Any chance for doing this?
I've debugged exact same problem, I did not use signing. I've used PJON with gateway-node communication, but it's not on that layer IMHO. I could reproduce the issue even on...
@feanor-anglin Looks like [Domoticz](https://github.com/domoticz/domoticz/blob/d28af58666ca9cacf7386ffe5139da4e98eda122/hardware/MySensorsBase.cpp#L1267.) implements `sendDelay` too. As for [HomeAssistant](https://github.com/home-assistant/core/blob/cf3b5ff7f9804f4d8d129727fd243280c099d940/homeassistant/components/mysensors/gateway.py#L126) they are using [pymysensors](https://github.com/theolind/pymysensors) with the asyncio. I'm not sure if this [send method](https://github.com/theolind/pymysensors/blob/6aa6df9d239640cf2594a0d718bd2dfccf2bf9b7/mysensors/transport.py#L39-L53) is blocking or not, but it's...
I did some tests, with HA and Domowicz here are my findings, https://gist.github.com/chytreg/dcd1c7449fca25e9480c7c463d7ec031 My setup: ESP8266 as TCP Gateway + 1 Node on Arduino Mega, with 16 relays, I use...
@MartinHjelmare Could you take a look, I'm trying to understand where is the problem, is it hardware limitation of message processing or it's software issue with MySensors. Why other controllers...
@virtual-maker Smth like that, could solve the problem. Domoticz and OpenHub, implemented it that way. My main question is why it's even needed? Why I have to `wait(100)` between send...
@virtual-maker > I have no experience with PJON transport. I'm using NRF24 Imho transport doesn't matter, I was able to reproduce the same problem on USB serial and HA which...
@virtual-maker This is part of the logs when I comment out `wait` from https://gist.github.com/chytreg/dcd1c7449fca25e9480c7c463d7ec031#file-arduino_mega_pjon_multi_realy_node-cpp-L58 & https://gist.github.com/chytreg/dcd1c7449fca25e9480c7c463d7ec031#file-arduino_mega_pjon_multi_realy_node-cpp-L27 ``` 22:28:28.877 > 5048 TSF:MSG:SEND,3-3-0-0,s=4,c=1,t=2,pt=2,l=2,sg=0,ft=0,st=OK:0 22:28:28.923 > 5083 !PJON:SND:FAIL 22:28:28.923 > 5085 !TSF:MSG:SEND,3-3-0-0,s=5,c=1,t=2,pt=2,l=2,sg=0,ft=0,st=NACK:0 22:28:28.948...
@virtual-maker ``` Compiling .pioenvs/mysensors/libc02/EEPROM/EEPROM.cpp.o In file included from .piolibdeps/mysensors/MySensors/hal/architecture/ESP8266/MyMainESP8266.cpp:41, from .piolibdeps/mysensors/MySensors/MySensors.h:453, from src/ESPHomeMySensorsGatewayShim.h:9, from src/main.cpp:25: /Users/chytreg/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/core_esp8266_main.cpp:141:27: error: macro "yield" passed 1 arguments, but takes just 0 141 | extern "C"...
I've added main.cpp to the gist, it's generated by esphome. The original version of this code should work according o the author https://github.com/mannkind/ESPHomeMySensorsGatewayShim on > Tested with ESPHome 1.13.x, MySensors...