11.3mA according to the datasheet
But 13.5mA when in receive mode.
11.3mA according to the datasheet
But 13.5mA when in receive mode.
The bew error you got is discussed in https://forum.mysensors.org/topic/11448/config-h-39-first-defined-here/4
Easiest way is probably to switch to the development branch of mysensors.
Run git checkout development and then start over from the configure step. Or follow the step ”To use the development version with the latest updates” on the raspberry pi gateway build page.
The key is here:
hal/architecture/Linux/drivers/core/interrupt.cpp:33:10: fatal error: stropts.h: No such file or directory
33 | #include <stropts.h>
| ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:99: build/hal/architecture/Linux/drivers/core/interrupt.o] Error 1
See https://forum.mysensors.org/topic/11138/mysensors-build-problem-on-ubuntu-20-04-rpi-or-tinker-board/2 for a possible workaround. Then restart from the make step.
Mysgw will only be created after successful make.
Nice work @goblin
Could you share all commands you ran and the entire output, including the configure, build and test steps?
Also, I don’t think Domoticz can use the gateway as a client. You should probably omit the --my-controller-ip-address=127.0.0.1 argument.
Hello @goblin, welcome to the forum.
You probably had installed the raspberry pi gateway, which supports serial (usb), ethernet (LAN) and mqtt.
Instructions: https://www.mysensors.org/build/raspberry
Easiest is probably ethernet.
@OldSurferDude the max number of nodes is 253, as with any MySensors gateway.
The esp-12f has a lot more resources than an atmega328.
Thers is actually support for pjon as transport in MySensors: https://github.com/mysensors/MySensors/pull/1278
I don’t know how it works though.
@fsgraz you might want to use the tcp option for the ethernet gateway then. See https://www.mysensors.org/about/overview and https://www.mysensors.org/build/select_gateway
Thanks @OldSurferDude
I have notified the team
@tnick STM32F1 2019.12.8 (stm32duino) is the version that was active when the latest MySensors release was made. Later versions may or may not work; nobody would know until they tried.
@tnick which version of MySensors are you using?
Are you using the correct board definitions? STM32F1 2019.12.8 (stm32duino)
https://github.com/mysensors/MySensors/pull/1562 switches to using libgpiod instead of the earlier interface. I have not tested it myself but it looks good.
@JanJaap-Jagtenberg according to https://www.reddit.com/r/tradfri/s/gvFcOmHe8h the ”best” solution is to replace the led driver (but keep the lights).
An alternative might be to buy a used remote on ebay or a local equivalent.
Do you know what is wrong with your current remote? Maybe it can be fixed?
Nice work @FcNanoLed , glad I could help!
@FcNanoLed sensor IDs must be 0-254. For example, ID 635 will be transmitted as 123 (635 modulo 256).
Change all IDs to be between 0 and 254.
@dpcons you can have as many nrf24l01 MySensors networks as you like.
They are differentiated by channel and base radio id.
The reason for multiple networks may be more control, isolation, lab/test/production network, approaching the limit (255) of the number of nodes in a single network, separate network for high-traffic devices, different versions of MySensors, interference, range problems, and more.
@dpcons there can only be one MySensors gateway in a MySensors network.
You can have as many MySensors networks as you like.
A MySensors network can exist of only a gateway (no other MySensors nodes required)
If that's not the case, is there a point to having one, if I already have an esp8266 WIFI gateway with a nRF24L01.
There can be points. I don’t know your needs.
If a radio is required on the MQTT, does that mean another nRF24L01 can be connected to the system? Is that possible?
No radio is required on the mqtt gateway.
A mqtt gateway can have a nrf2l01.
I guess what you're saying is that you only need one 2.4G network, be it wifi, mqtt or serial. True?
Could you elaborate on what you mean by ”one 2.4G network”? Do you mean one MySensors nrf24l01 network? Or one 2.4GHz wifi network? Or something else?
3,156 days ago. Still a great memory!
@dpcons sensor nodes can not post a mqtt message. Sensor nodes can’t even be aware that they talk to a mqtt gateway: the nodes don’t know if the gateway is wifi, mqtt, serial or any other type.
With that said, sensor nodes can send any message to a gateway, and the gateway will forward the message on mqtt (if it is a mqtt gateway). Simplest example is probably something like https://github.com/mysensors/MySensors/blob/development/examples/BatteryPoweredSensor/BatteryPoweredSensor.ino or https://github.com/mysensors/MySensors/blob/development/examples/BinarySwitchSleepSensor/BinarySwitchSleepSensor.ino
@dpcons try changing unsigned long in your sketch to uint32_t
Could be that the override needs to have an exact match.