Skip to content

Announcements

We'll post official news and announcements here
160 Topics 6.5k Posts
  • Something's cooking in the MySensors labs...

    Pinned
    29
    1
    15 Votes
    29 Posts
    982 Views
    BearWithBeardB
    @pikim No, I am not. My original plan was to deploy more and more RFM-based nodes as they seemed superior over NRF24 in general, but I realized that my NRF24 network was rock solid and reliable, so there was no need for the added complexity and cost to support and integrate another transport. Plans are made to change them. ;) That being said, I used the multiRF gateway for months without issues. The gateway operated as stable as the single transport 2.3.2 gateway. No issues at all, except with the automatic TX power adjustment (ATC) of the RFM transceivers, due to what I believe might be a timing issue within the library. I described the issue in this thread. Basically, the RFM nodes were not able to reduce their transmit power, unnecessarily blasting the environment and wasting battery power. Introducing small delays in various places was all it needed to work around this issue successfully, seemingly without adverse side effects. This issue has not been properly remedied since the introduction of the multiRF gateway though. For all I know, it is still tekka's personal fork of the MySensors 2.4 branch and has not been updated, so any new fixes and features for version 2.4 since March 2020 will not be available to this fork, unless you manually implement them. So I guess it is up to you if you prefer to use the multiRF gateway without all the mainline 2.4 changes, or the up-to-date 2.4 branch without the multiRF feature. It should not make much of a difference currently, according the the commits since the multiRF fork, unless you want to use PJON transport or deploy NRF5-based nodes. I really wish that the development on MySensors revives, as it is feeling kinda stale at the moment. It would be a shame if this project got silently abandoned. I would be glad to help out wherever I can.
  • MySensors 2.3.2 released

    Pinned
    28
    19 Votes
    28 Posts
    4k Views
    J
    what would you like as a novelty ??? " MySensors is dead ?" ... No, in my house it is still alive. but it's true you are right to ask the question. the programmers, the creators are always The ????? :) what!? bought by the competition so that MySensors does not evolve any more? it makes damage to the commercial product :)
  • MySensors 2.3.1 released

    Pinned
    13
    11 Votes
    13 Posts
    19k Views
    mfalkviddM
    @royson84 they probaby will work. There should not be any changes that break anything. But it has not been tested very thoroughly.
  • The MySensors roadmap

    Pinned
    1
    6 Votes
    1 Posts
    5k Views
    No one has replied
  • Forum User Guidelines

    Pinned code of conduct forum rules
    6
    3 Votes
    6 Posts
    10k Views
    T
    @hek Hi! Thank you for the informative post)
  • 💬 What's all the fuss about?

    34
    0 Votes
    34 Posts
    6k Views
    skywatchS
    Welcome - I hope you find it inspiring, educational and practical. There is lots to learn and more to achieve.
  • 💬 MySensors Library - v2.x

    38
    0 Votes
    38 Posts
    8k Views
    nagelcN
    : ) That looks right. I have not written a receiveTime function for years and have just been copying the one in MockMySensors over and over.
  • 💬 Components

    7
    0 Votes
    7 Posts
    1k Views
    OldSurferDudeO
    @GLAB said in 💬 Components: nrf24l01+ I have run the RF24 libraries in 230kbs and that worked for me. I cannot confirm MySensors, but I would assume "yes" OSD
  • 💬 Building a wired RS485 sensor network

    164
    0 Votes
    164 Posts
    47k Views
    H
    Thank you @JeeLet ! I've been struggling with missing msgs for years with my Arduino Mega I changed pin and no issues! :D In the pjon code I've reached to list of tested pins that communication works properly https://github.com/gioblu/PJON/blob/38e36bb1228c1690143cfbf693a0bcb809514d6c/src/strategies/OverSampling/README.md?plain=1#L12
  • 💬 Battery Powered Sensors

    battery
    347
    0 Votes
    347 Posts
    68k Views
    skywatchS
    @nekitoss I used 3.3V pro mini with regulator removed and powered by Vin pin. Also removed leds from the pro mini. I used minicore bootloader. I used the small pir sensors and again removed the regulator to power directly from the pro mini outputs. After that sleep the node and trigger on interrupt. Send battery level once a day. Use inbuilt battery level monitor and not external components that constantly drain power to get battery level. 1.8V is 0% on the graph (not visible yet!) but I have had nodes working below 1.7V It's a matter of luck with that it seems. Hope this helps you on the right track. I'll try and help if you want. [image: 1697446591518-1ed.jpg] This is the latest image and still going strong after 18 months. Voltage is at 2.903V Here is photo of the test example - I need to make a case and produce more of them over winter..... [image: 1697446939496-20231016_095845.jpg] Here is the same build/code of a window sensor. Similar time frame but hardly triggered..... [image: 1697447658685-2ed.jpg]
  • Sensebender Micro

    584
    9 Votes
    584 Posts
    403k Views
    tbowmoT
    I deployed 5 sensebender nodes just after release in 2015, all with 2 AA batteries from ikea.1 died within a couple of years, because it was placed outdoors. But the rest kept going, and all have been going until this year. So 8 years of battery time on one set of batteries.. I think that is excellent battery life.. ;)
  • 💬 Ago Control

    2
    0 Votes
    2 Posts
    759 Views
    T
    Error establishing a database connection
  • 💬 Building a WiFi Gateway using ESP8266

    109
    0 Votes
    109 Posts
    24k Views
    electrikE
    I mean the ESP framework version, selected by the board version https://arduino.esp8266.com/Arduino/versions/2.0.0/doc/installing.html#:~:text=Open Boards Manager from Tools,from a drop-down box.
  • 💬 Water Meter Pulse Sensor

    109
    0 Votes
    109 Posts
    31k Views
    S
    I finally got this to work. Unlike what the description here says, this is how to update the value: In Home Assistant, go to Developer->Service->YAML mode: service: text.set_value data: value: "967067" target: entity_id: text.water_meter_100_2 (change 967067 with the value you want to add to the current counter) The service "notify.mysensors" seems to be deprecated by Home Assistant.
  • 💬 Real Time Clock Module, LCD Display and Controller Time

    10
    0 Votes
    10 Posts
    3k Views
    J
    ... compiled: Jan 27 202312:42:11 01/27/2023 12:42:11 RTC lost confidence in the DateTime! RTC is the same as compile time! (not expected but all is fine) 01/27/2023 12:42:11 19.25C 01/27/2023 12:42:14 19.25C -------- power loss ----- RTC communications error = 4 01/01/2000 00:00:00 0.00C RTC communications error = 5 01/01/2000 00:00:00 0.00C.. ------------- return power supply +5v ---- RTC lost confidence in the DateTime! 01/01/2000 00:00:12 19.50C RTC lost confidence in the DateTime! 01/01/2000 00:00:15 19.50C ... https://forum.arduino.cc/t/librairie-makuna-freez/1081415/34
  • Merry Christmas and Happy New 2023

    2
    3
    4 Votes
    2 Posts
    46 Views
    J
    thank you .... and a happy new year to MySensors users
  • 💬 Building a Orange Pi Gateway

    110
    0 Votes
    110 Posts
    32k Views
    OldSurferDudeO
    I saw this page and thought I give it a go. So I bought two OrangePi Zero 2. There's a lot of potential (WiFi) as a dedicated gateway. Currently the price is about US$20 on AliExpress (caveat emptor) There are a few flavors of Linux for it. I've dabbled with Armbian, Ubuntu and Debian Another upside is that it doesn't draw a lot of current ~0.5A, though I haven't been successful in getting the radio to run (the reason for me being here) This is also a downside as I suspect the power supply needs to be very close to 5V. Thinking it was a power hog like the RPi, I used a 5V-3A supply. This supply operates on the principle that the load will pull down the voltage. There are dire warnings on the orangepi page about using cheap SD cards, but failed to mention that power supplies have to be matched, too. It has a different CPU than the Orange Pi Zero non-2, the board that is used here. Use the serial interface to configure the board. You're going to be doing all your configuration in a terminal, anyway, so you don't need a monitor or a keyboard. https://www.instructables.com/Setup-Orange-Pi-Using-Serial-Port/ The big downside is that the SPI interface is not supported. My research indicates that in order to get it to work one must jump through some serious hoops and being low on the learning curve, those hoops are probably out of my reach. https://forum.armbian.com/topic/21688-tips-on-configuring-double-spi-through-two-chipselects-on-orange-pi-zero-2/ The armbian OS has another big downside, WiFi is not supported. Putting a TP-Link nano router configured as a client works, but it's another $30! Why did they even release the OS? So! Was anyone successful in getting the Orange Pi Zero 2 configured as a gateway?
  • 💬 Building a MQTT Gateway

    81
    0 Votes
    81 Posts
    14k Views
    L
    I think I'm ussing the latest one [image: 1666601052136-d8876975-0cfc-4787-b700-255b1eccec88-image.png] but as you said I don't think it will fix my issue though. But looking at the examples I found that they have a connect function which then can be used to reconnect whenever needed not constantly like it happens now, But not sure how I could integrate that functionality in this sketch though, as I'm not that experienced with programming :/ To you think it will be possible? /* Reconnecting MQTT example - non-blocking This sketch demonstrates how to keep the client connected using a non-blocking reconnect function. If the client loses its connection, it attempts to reconnect every 5 seconds without blocking the main loop. */ #include <SPI.h> #include <Ethernet.h> #include <PubSubClient.h> // Update these with values suitable for your hardware/network. byte mac[] = { 0xDE, 0xED, 0xBA, 0xFE, 0xFE, 0xED }; IPAddress ip(172, 16, 0, 100); IPAddress server(172, 16, 0, 2); void callback(char* topic, byte* payload, unsigned int length) { // handle message arrived } EthernetClient ethClient; PubSubClient client(ethClient); long lastReconnectAttempt = 0; boolean reconnect() { if (client.connect("arduinoClient")) { // Once connected, publish an announcement... client.publish("outTopic","hello world"); // ... and resubscribe client.subscribe("inTopic"); } return client.connected(); } void setup() { client.setServer(server, 1883); client.setCallback(callback); Ethernet.begin(mac, ip); delay(1500); lastReconnectAttempt = 0; } void loop() { if (!client.connected()) { long now = millis(); if (now - lastReconnectAttempt > 5000) { lastReconnectAttempt = now; // Attempt to reconnect if (reconnect()) { lastReconnectAttempt = 0; } } } else { // Client connected client.loop(); } }
  • 💬 Domoticz

    16
    0 Votes
    16 Posts
    6k Views
    Michiel van der WulpM
    Also the MQTT gateway is supported according https://www.domoticz.com/wiki/MySensors It even supports new node ID generation.
  • 💬 Building a Serial Gateway

    52
    0 Votes
    52 Posts
    9k Views
    M
    Why would the gateway send a NACK to any node? The node only received one OK and then just NACK 17764 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=1,st=OK: 22773 !TSM:FPAR:NO REPLY 22775 TSM:FPAR 29779 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=NACK: 34789 !TSM:FPAR:NO REPLY 34791 TSM:FPAR

11

Online

11.7k

Users

11.2k

Topics

113.1k

Posts