You are great guys! It compile already, later I will also check the functionality
gryzli133
@gryzli133
Best posts made by gryzli133
-
RE: How can I include MyMessage object in my own class?
-
How to force MySensors to start setup and loop before connect to Gateway?
Dear All,
the reliability is the key of the system for me. So I decide to have local functions, that do not need gateway/HUB to be usable. I use Domoticz. In my primary setup, there is my Domoticz server on RPi 3 and multiple Arduino Mega as Serial Gateway. These Mega are controlling lights and Roller Shutters in my house. Every light/blind has it own button, connected to Mega's Input pin. The same Mega is controlling also the relays. The adventage is that no metter if there is Internet or even if Domoticz Server is running, the local buttons and relays are always working - domoticz is just an "extra feature" for my system.
The problem is, when I would like to add some extra devices connected by nrf24l+ and have the same functionality (this means, that the local function is always available, also without connection to gateway), there is a problem. As long, as the slave cannot reach the gateway, the arduino's loop function is not running. Is it possible to get the loop function running even without the gateway on the slave?
-
RE: Transport based on single wire PJON protocol
WOW, just find that PJON protocol, quite good stuff! Working more reliable than RS485 on my work table
I'm creating smart home solution that will work 100% on cable. Because there are some known issues with RS485, PJON would be the great alternative for my project. Is there an official support for MySensors already?
-
RE: Transport based on single wire PJON protocol
@giovanni-blu-mitolo would it be possible for you to refresh the PJON transport layer? Maybe even try with new pull request for PJON transport? I think I'm out of skills to do it by myself. The phissically setup is quite easy, you need one Arduino board as Serial Gateway and one as node. The communication is then running over PJON between arduinos. From Gateway you can see over Serial Monitor if the communication is running well.
I'm trying to build a floor heating controller for all my house. The idea is to have an Arduino (probably ESP8266 with switched off WiFi) with OLED display (SH1106 using u8g2 lib) and BME280 sensor (Temp+Baro+Hum) in each room. All these should communicate with Arduino Mega as Serial Gateway and main controller for the Valves. For now the only problem is the communication between Arduino Mega and multiple ESP8266 over PJON. It would be even enough to get it work outside MySensors, but I get some trouble. For test I have programm the ESP8266 room thermostat that is communicating with other ESP8266 over PJON. But sometimes I cannot get any data over PJON. Have no idea where is the problem, sometimes it is working, sometimes not... Do you think, that the problem could be SW i2c for the OLED diplay?
Latest posts made by gryzli133
-
RE: Dimmer sketches - array and multiple PWM led pins
Did someone got the idea why 100% in Domoticz is 99% in MySensors? Is MySensors limiting dimmer to 99% or is this caused by Domoticz?
-
RE: Transport based on single wire PJON protocol
Hi Giovanni, did I understood good, that PJON will be included in next release of MySensors?
-
RE: Locally attached sensors are hanging with MQTT Gateway (W5100 LAN Interface)
@mfalkvidd can it be requested as new feature? For serial gateway this works without any problems...
-
RE: Locally attached sensors are hanging with MQTT Gateway (W5100 LAN Interface)
I forgot to mention, I already use this at the beginning:
#define MY_TRANSPORT_WAIT_READY_MS 1
It is working for Serial Gateway, but seems no to work with MQTT Gateway....
-
Locally attached sensors are hanging with MQTT Gateway (W5100 LAN Interface)
Dear all,
I have a centrally controlled system for my Lights and Blinds. I use Arduino MEGA with Ethernet shield and MQTT Gateway. There is no radio, it is cotrolling only locally attached sensors (Lights and Blinds -> buttons and relays). When I have good LAN connection everything is working fine, but when I disconnect the cable, or switch off the Router, then it is not responding. The serial is printing this info only:
(...)
1879015 GWT:TPC:IP=0.0.0.0
1880017 GWT:RMQ:MQTT RECONNECT
1880321 GWT:TPC:IP=0.0.0.0
1881324 GWT:RMQ:MQTT RECONNECT
(...)Is there a way to say, that locally sensors and logic have a priority if there is problem with connection?
-
RE: Transport based on single wire PJON protocol
@giovanni-blu-mitolo would it be possible for you to refresh the PJON transport layer? Maybe even try with new pull request for PJON transport? I think I'm out of skills to do it by myself. The phissically setup is quite easy, you need one Arduino board as Serial Gateway and one as node. The communication is then running over PJON between arduinos. From Gateway you can see over Serial Monitor if the communication is running well.
I'm trying to build a floor heating controller for all my house. The idea is to have an Arduino (probably ESP8266 with switched off WiFi) with OLED display (SH1106 using u8g2 lib) and BME280 sensor (Temp+Baro+Hum) in each room. All these should communicate with Arduino Mega as Serial Gateway and main controller for the Valves. For now the only problem is the communication between Arduino Mega and multiple ESP8266 over PJON. It would be even enough to get it work outside MySensors, but I get some trouble. For test I have programm the ESP8266 room thermostat that is communicating with other ESP8266 over PJON. But sometimes I cannot get any data over PJON. Have no idea where is the problem, sometimes it is working, sometimes not... Do you think, that the problem could be SW i2c for the OLED diplay?
-
RE: Transport based on single wire PJON protocol
WOW, just find that PJON protocol, quite good stuff! Working more reliable than RS485 on my work table
I'm creating smart home solution that will work 100% on cable. Because there are some known issues with RS485, PJON would be the great alternative for my project. Is there an official support for MySensors already?
-
How to force MySensors to start setup and loop before connect to Gateway?
Dear All,
the reliability is the key of the system for me. So I decide to have local functions, that do not need gateway/HUB to be usable. I use Domoticz. In my primary setup, there is my Domoticz server on RPi 3 and multiple Arduino Mega as Serial Gateway. These Mega are controlling lights and Roller Shutters in my house. Every light/blind has it own button, connected to Mega's Input pin. The same Mega is controlling also the relays. The adventage is that no metter if there is Internet or even if Domoticz Server is running, the local buttons and relays are always working - domoticz is just an "extra feature" for my system.
The problem is, when I would like to add some extra devices connected by nrf24l+ and have the same functionality (this means, that the local function is always available, also without connection to gateway), there is a problem. As long, as the slave cannot reach the gateway, the arduino's loop function is not running. Is it possible to get the loop function running even without the gateway on the slave?
-
RE: How can I include MyMessage object in my own class?
You are great guys! It compile already, later I will also check the functionality