Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
mfalkviddM

Mikael Falkvidd

@mfalkvidd
Mod
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store
About
Posts
5.5k
Topics
67
Shares
0
Groups
3
Followers
47
Following
261

Posts

Recent Best Controversial

  • My final Gateway version
    mfalkviddM mfalkvidd

    11.3mA according to the datasheet

    But 13.5mA when in receive mode.

    My Project

  • mysensors on rpi with NRF2401 with Domoticz
    mfalkviddM mfalkvidd

    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.

    Domoticz raspberry pi

  • mysensors on rpi with NRF2401 with Domoticz
    mfalkviddM mfalkvidd

    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.

    Domoticz raspberry pi

  • mysensors on rpi with NRF2401 with Domoticz
    mfalkviddM mfalkvidd

    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.

    Domoticz raspberry pi

  • mysensors on rpi with NRF2401 with Domoticz
    mfalkviddM mfalkvidd

    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.

    Domoticz raspberry pi

  • Imitating a LoRaWAN(R) with ESP8266/ESP32 and MySensors
    mfalkviddM mfalkvidd

    @OldSurferDude the max number of nodes is 253, as with any MySensors gateway.

    The esp-12f has a lot more resources than an atmega328.

    Development

  • Pjon Script
    mfalkviddM mfalkvidd

    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.

    General Discussion

  • Some questions on how gateway works
    mfalkviddM mfalkvidd

    @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

    Home Assistant

  • Keen to build again
    mfalkviddM mfalkvidd

    Thanks @OldSurferDude

    I have notified the team

    General Discussion

  • Cannot compile sketch with STM32F1 BluePill board
    mfalkviddM mfalkvidd

    @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.

    Troubleshooting

  • Cannot compile sketch with STM32F1 BluePill board
    mfalkviddM mfalkvidd

    @tnick which version of MySensors are you using?

    Are you using the correct board definitions? STM32F1 2019.12.8 (stm32duino)

    Troubleshooting

  • Raspberry Pi 5: invalid GPIO 9
    mfalkviddM mfalkvidd

    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.

    Troubleshooting

  • IKEA UTRUSTA remote control
    mfalkviddM mfalkvidd

    @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?

    Controllers

  • Ghost Child
    mfalkviddM mfalkvidd

    Nice work @FcNanoLed , glad I could help!

    Troubleshooting

  • Ghost Child
    mfalkviddM mfalkvidd

    @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.

    Troubleshooting

  • MQTT-Help me understand about the MQTT Gateway.
    mfalkviddM mfalkvidd

    @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.

    Development

  • MQTT-Help me understand about the MQTT Gateway.
    mfalkviddM mfalkvidd

    @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?

    Development

  • Meet in Malmö, Summer 2016?
    mfalkviddM mfalkvidd

    3,156 days ago. Still a great memory!

    General Discussion

  • MQTT-Help me understand about the MQTT Gateway.
    mfalkviddM mfalkvidd

    @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

    Development

  • Getting system time from the controller
    mfalkviddM mfalkvidd

    @dpcons try changing unsigned long in your sketch to uint32_t

    Could be that the override needs to have an exact match.

    Troubleshooting
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular