Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. electrik
    3. Best
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by electrik

    • RE: Help coding: adding functionality relying on MySensors-func/library (saveState/loadState) (c++)

      If you want to use library functions outside the main sketch, you can also just include the core header, e.g.

      #include "core/MySensorsCore.h"
      
      posted in Troubleshooting
      electrik
      electrik
    • RE: Nano minimum voltage

      If you use an ISP programmer, you can reprogram the fuses and use it on lower voltages also. Upto 1.8v but also 3.3v

      posted in Hardware
      electrik
      electrik
    • RE: script to convert serial to mqtt?

      I haven't tested it, but this one seems to fit what you need
      https://github.com/mycontroller-org/serial2mqtt/blob/master/README.adoc

      posted in Development
      electrik
      electrik
    • RE: Auto resend on NACK

      @skywatch said in Auto resend on NACK:

      @electrik & @Marek - Are you both sure about that? It seems to me that both those statements are doing what was intended.

      Now that I see it again, I'm not so sure anymore actually.

      In your code you used the variable msg. That should be one of msgFgeHum, msgFgeTemp, msgFzrHum, msgFzrTemp.
      That is why the compiler complains msg is unknown.

      You also enabled the ack message, this is just a software acknowledge, while the send function returns the status of the hardware acknowledge. So if you check with

      if (send(msgFgeHum.set(fgehum),true))
      {
      // this is sent ok
      }
      else
      {
      // sending failed
      }
      

      you check if the hardware acknowledge was successful. The software ack should be tested differently and some more logic is needed for it.

      Hope this helps

      posted in Troubleshooting
      electrik
      electrik
    • RE: Motion Sensor not presenting to RS485 Gateway / TSM:FPAR:NO REPLY

      You should move the define for the node ID before you include mysensors.h

      posted in Home Assistant
      electrik
      electrik
    • RE: Handling NACKs in the gateway

      Exactly. Better to ask then waste many hours 😏

      posted in Development
      electrik
      electrik
    • RE: MySensor Request Function

      You can remove these lines, the declaration is already done in the MySensors framework. For presentation() it is needed because you write code there, that is in the function. Now you only call the function, and the code is already in the framework.

      posted in General Discussion
      electrik
      electrik
    • RE: Use FreeRTOS?

      I am using the Pinchange interrupts to wake up from sleeping.
      Maybe this helps?
      See code snippets below.

      #include <PinChangeInt.h>  //include PinChange lib from MySensors utilities
      

      in setup()

        attachPinChangeInterrupt(BotLeft_PIN, BotLeft_ISR, CHANGE);
      

      and in the ISR

      void BotLeft_ISR() {
      _wokeUpByInterrupt = 0xFE; // work-around to force MS lib to handle this interrupt
       // more code here
      }
      posted in Development
      electrik
      electrik
    • RE: Smartmeter sensors

      There are many examples...
      https://forum.mysensors.org/topic/3764/p1-smart-meter-nta8130-readout-using-mysensors/7

      Or on GitHub, needs some tinkering to integrate in mysensors

      https://github.com/search?l=C%2B%2B&q=P1+meter&type=Repositories

      Edit
      There is also a library available
      https://github.com/matthijskooijman/arduino-dsmr

      posted in My Project
      electrik
      electrik
    • RE: Motion sensor increase Time high status via software

      @skywatch still if you use wait(), the rest of the code in the loop is not executed during the waiting time. Only the mysensors core is executed

      posted in Feature Requests
      electrik
      electrik
    • RE: MySensor Request Function

      You should do the same for requestTime();

      posted in General Discussion
      electrik
      electrik
    • RE: Debug messages over Wi-Fi

      Hello
      I've tried to use this with an ESP32 (I modified some defines for the architecture, to make it compatible). In MyHwESP32.h I've changed

      #define MY_SERIALDEVICE Serial
      

      to

      #ifndef MY_SERIALDEVICE
        #define MY_SERIALDEVICE Serial
      #endif
      

      I think this why it doesn't work for you @ricorico94 with version 2.3 of MySensors.

      It worked sometimes, but usually Putty responds "Network error: Connection refused"

      Any ideas?

      posted in Development
      electrik
      electrik
    • RE: Correct Usage of MY_DEBUGDEVICE

      MY_DISABLED_SERIAL wil output nothing on the serial, no matter software or hardware serial. So in your case you don't need to define it.
      And try removing the semicolon after

      #define MY_DEBUGDEVICE mySerial;
      
      posted in My Project
      electrik
      electrik
    • RE: ESP8266 Gateway runs DHCP, not static

      @martim Did you read this thread?
      https://forum.mysensors.org/topic/9431/solved-esp8266-mysensors-2-2-0-problem-with-static-ip-configuration

      posted in Troubleshooting
      electrik
      electrik
    • RE: [SOLVED] Strange behavior on MQTT Gateway Reset

      @mfalkvidd said in Strange behavior on MQTT Gateway Reset:

      MySensors does set the retain message on I_BATTERY_LEVEL messages (but no other messages)

      If the define MY_MQTT_CLIENT_PUBLISH_RETAIN is used, all messages are retained. But that is not active by default, so probably not used in this case. Just to be complete 😉

      posted in General Discussion
      electrik
      electrik
    • RE: [SOLVED] Error building ESP32 node: multiple definition of `app_main'

      You can also try to use esp32 board definition v1.0.0. I guess you are now using 1.0.1

      posted in Development
      electrik
      electrik
    • RE: 💬 Building a MQTT Gateway

      @linkinpio in the pubsubclient library, you can change the timeout on connecting to the mqtt broker. Default it is 15s, reducing it to e.g. 2s will increase the availability of the main loop.

      posted in Announcements
      electrik
      electrik
    • RE: MQTT Nodemcu Gateway Compile Error

      Did you try this?

      https://forum.mysensors.org/search?term=ets_update_cpu_frequency&in=titlesposts&matchWords=all&sortBy=relevance&sortDirection=desc&showAs=posts

      posted in Troubleshooting
      electrik
      electrik
    • RE: 💬 RFM69(H)W Arduino Mini Pro Shield v2

      Here the picture of the assembled board. The top board is a temperature sensor so not necessarily needed.
      IMG_20220307_141308.jpg

      posted in OpenHardware.io
      electrik
      electrik
    • RE: Receive queued mensajes after sleep
      1. You're not sleeping at all now. After sleep, you can request the current value of the sensor with request(). It depends on the controller if the request function is available.
      2. You can use sleep(600000); see also https://www.mysensors.org/download/sensor_api_20#sleeping.
      3. You are not distinguishing to which child you receive the V_STATUS in receive(). So you should check message.sensor in your if statement also
      posted in Development
      electrik
      electrik
    • RE: [SOLVED] Ethernet MQTT Gateway Slow to connect

      I'm not using a wired connection, but had many connection issues also. It took long time before the gateway was up, MQTT connections dropped.

      Then I replaced my router (the one delivered by the cable supplier) and I have no issues anymore. So that could be worth a try.

      posted in Troubleshooting
      electrik
      electrik
    • RE: Pro Mini + RFM95 and two ISR-watched buttons possible?

      Look here for a working example with nrf24:

      https://github.com/rikki78/MySensors

      posted in General Discussion
      electrik
      electrik
    • RE: Easiest way to enable/disable MySensors on running node?

      @alowhum said in Easiest way to enable/disable MySensors on running node?:

      I could create a lot of if (connecting_allowed){ around the send()functions in the script. But perhaps there's an easier way that involves less coding?

      Make a new sendWithPermission() function that is called from the sketch, and check in there if (connecting_allowed)

      posted in Development
      electrik
      electrik
    • RE: What is the correct way to implement a WDT, for reset on a Sleeping node?

      @njwyborn are you sure the board is not responding? Perhaps the message is never delivered due to connection issues? What type of transceiver are you using?

      posted in Troubleshooting
      electrik
      electrik
    • RE: Outdoor (neg temp) sensor for battery power project

      Have a look at the bme280. Low power and low voltage and starts at -40 °C
      https://www.bosch-sensortec.com/products/environmental-sensors/humidity-sensors-bme280/

      It is available on Aliexpress also

      posted in General Discussion
      electrik
      electrik
    • RE: [Solved]ProMini Will Not Sleep/ Enter Low Power Mode - what is best avr sleep or smartsleep?

      Check this for an example

      https://github.com/rikki78/MySensors/blob/master/WallRemote/WallRemote.ino

      posted in Development
      electrik
      electrik
    • RE: Auto resend on NACK

      This line
      send(msgFgeHum.set(fgehum),true)
      Should be
      if (send(msgFgeHum.set(fgehum) == true)

      posted in Troubleshooting
      electrik
      electrik
    • RE: Anyone using/tried the E28-2G4M27S 2.4Ghz LoRa SX1280 27dB module?

      This is an interesting find, can you share the link? I can't find these low prices anywhere.

      posted in General Discussion
      electrik
      electrik
    • RE: #error No forward link or gateway feature activated - when including MySensors

      No I didn't try that, just out of experience.
      But now I see you include Mysensors.h again in the example. If you want to use mysensors functions in the header file you should just include
      #include <core/MySensorsCore.h>
      See also https://forum.mysensors.org/topic/6646/solved-multiple-source-files-including-mysensors-h-problem/2

      posted in Development
      electrik
      electrik
    • RE: Auto resend on NACK

      @alowhum said in Auto resend on NACK:

      Hardware ACK is just that is reaches the next node in the network, right? It could be a repeater saying "I got something from you". It doesn't 100% guarantee that it reached the controller correctly.

      Yes exactly

      @alowhum said in Auto resend on NACK:

      Software ACK is the controller sending back the exact same message you sent, but this time with the ACK bit set to true? It goes up and down your entire network. It's the best way to be sure that the message reached the controller, since you could theoretically even check if the message details are still the same as when you sent it.

      Yes

      @alowhum said in Auto resend on NACK:

      Both will happen when you set ACK to true in your send() function?

      Yes correct again

      @alowhum said in Auto resend on NACK:

      Is this a correct summary?

      I didn't use the software ack myself but I think this last point is also correct.

      posted in Troubleshooting
      electrik
      electrik
    • RE: Absolute location of system config in EEProm

      If you use saveState() and loadState() the library will handle this for you

      https://www.mysensors.org/download/sensor_api_20

      posted in General Discussion
      electrik
      electrik
    • RE: Drawbacks to using a pro mini as a serial gateway?

      @kiesel the pro Mini is the same chip as an Arduino nano, so the speed will be the same for both

      posted in Development
      electrik
      electrik
    • RE: Auto resend on NACK

      You will get multiple messages, if the message arrives correctly but the hardware ACK doesn't.

      Do you have a repeater in between the sender and gateway? It could be that the repeater does receive the initial message (and the sensor gets a hardware ACK), but that never reaches the gateway because of a transmission error between the repeater and the gateway.

      posted in Troubleshooting
      electrik
      electrik
    • RE: Website forum search feature [is broken]

      @dbemowsk You can also use google and add mysensors before the search phrase

      posted in General Discussion
      electrik
      electrik
    • RE: Drawbacks to using a pro mini as a serial gateway?

      No just the Rx, TX and power should be enough.

      posted in Development
      electrik
      electrik
    • RE: RFM69: ATC only works if MY_DEBUG_VERBOSE_RFM69 defined

      Interesting finding!
      I'm trying to replicate the behaviour, and have added some debug print statements in my code, which shows the tx level after each transmission. The number is changing often which doesn't correspond with your behaviour.
      How did you measure this?

      posted in Troubleshooting
      electrik
      electrik
    • RE: Local sensor warning messages

      @niclas comment the

      #define MY_DEBUG
      

      In your gateway sketch

      posted in Home Assistant
      electrik
      electrik
    • RE: Handling NACKs in the gateway

      If this is desired, the most transparent way would be to implement this function in the controller. You can request a software echo, and if you don't get that, you can send the message again

      posted in Development
      electrik
      electrik
    • RE: RFM gateway and sensors node with range issue

      Like @mfalkvidd said, if you use the new driver, you have to use it on all of the nodes and the gateway, as it doesn't work together with the old one.
      You said your code is a mess, maybe it is better to step back and use examples for both the node and the gateway and start from there. If that is working you can add your code. Just to exclude something is overlooked.

      posted in Troubleshooting
      electrik
      electrik
    • RE: Migrating from openHAB to Home Assistant

      @jocke4u said in Migrating from openHAB to Home Assistant:

      But get in logs a lot of:
      2020-05-26 17:32:30 WARNING (MainThread) [mysensors] Node 49 is unknown
      2020-05-26 17:32:40 WARNING (MainThread) [mysensors] Not a valid message: value must be float between 0.0 and 100.0 for dictionary value @ data['payload']
      2020-05-26 17:32:50 WARNING (MainThread) [mysensors] Node 49 is unknown
      2020-05-26 17:33:10 WARNING (MainThread) [mysensors] Node 49 is unknown
      2020-05-26 17:33:30 WARNING (MainThread) [mysensors] Node 49 is unknown
      2020-05-26 17:33:39 WARNING (MainThread) [mysensors] Not a valid message: value must be float between 0.0 and 100.0 for dictionary value @ data['payload']
      2020-05-26 17:33:50 WARNING (MainThread) [mysensors] Node 49 is unknown
      2020-05-26 17:34:10 WARNING (MainThread) [mysensors] Node 49 is unknown
      2020-05-26 17:34:13 WARNING (MainThread) [mysensors] Node 3 is unknown
      2020-05-26 17:34:13 WARNING (MainThread) [mysensors] Node 3 is unknown
      2020-05-26 17:34:14 WARNING (MainThread) [mysensors] Not a valid message: value must be float between 0.0 and 100.0 for dictionary value @ data['payload']
      2020-05-26 17:34:30 WARNING (MainThread) [mysensors] Node 49 is unknown
      2020-05-26 17:34:33 WARNING (MainThread) [mysensors] Node 4 is unknown

      These are caused by the nodes not correctly being presented to home assistant.
      Check https://www.home-assistant.io/integrations/sensor.mysensors/ for some examples of what the sketch should do so it is recognised by home assistant.
      Mainly presenting the sensors and sending a value to the controller.

      posted in Home Assistant
      electrik
      electrik
    • RE: Handling NACKs

      @karlheinz2000 said in Handling NACKs:

      I use NFR24 and RFM69. Behavior is sometimes strange. No NACKs for weeks and then a really high number of NACKs for a few days. Setup not changed. I have no idea why... Same for indoor and outdoor sensors.

      I've had similar effects and could relate this back to the gateway. I'm using an MQTT gateway and if that has Wifi connection issues, it is trying to reconnect to the network in a loop. During these retries it can't handle the NRF communication, if there are more messages than fit in the buffer.
      After solving these Wifi issues (updated the ESP32 core) and using the latest Mysensors release, things work much better.

      posted in Development
      electrik
      electrik
    • RE: Unblocking loop when DHCP fails

      I believe this delay is caused by requesting the IP address from your DHCP server. This request has a timeout and the framework waits for this timeout to be completed before continuing with the rest of the code.
      Maybe you could try a static IP address instead of DHCP?

      posted in Troubleshooting
      electrik
      electrik
    • RE: New ethernet gateway errors out on Home Assistant

      To me the errors look like you have connected the gateway to your home assistant controller, and that home assistant is configured for a serial gateway.
      Home assistant is processing the debug output as the data it is expecting.
      I think you should check your configuration

      posted in Home Assistant
      electrik
      electrik
    • RE: Expanding the size of an existing array?

      @alowhum said in Expanding the size of an existing array?:

      It's all a one-file sketch.

      Even it is only one file, the file can be included from other locations also. So is this #include <SoftwareSerial.h> also in other files inside your project?

      you can also check it by adding this before your define. If the compiler gives an error, this define is used somewhere already.

      #ifdef _SS_MAX_RX_BUFF
        #error "_SS_MAX_RX_BUFF defined already"
      #endif
      
      posted in Development
      electrik
      electrik
    • RE: Instable ESP32 MQTT gateway with RFM69

      So, I have added a check in the PubSubclient to work around this. Until now it works quite well and when an invalid packet is received this is not handled.

      However, now sometimes the gateway just hangs at some point.

      (za 29-08 13:06:53.126) IH<CR>
      (za 29-08 13:06:59.846) MQTTP topic
      (za 29-08 13:06:59.846) ms-rfm-to/31/2/2/0/3<CR>
      (za 29-08 13:06:59.960) 71554750 GWT:IMQ:TOPIC=ms-rfm-to/31/2/2/0/3, MSG RECEIVED
      (za 29-08 13:06:59.960) 71554758 THA:SND:MSG=00001F120203023237
      (za 29-08 13:06:59.960) IC<CR>
      (za 29-08 13:06:59.960) IH<CR>
      (za 29-08 13:06:59.960) IC<CR>
      (za 29-08 13:06:59.960) IH<CR>
      (za 29-08 13:06:59.960) 71554775 THA:SND:MSG LEN=9,RES=1
      (za 29-08 13:06:59.960) 71554779 TSF:MSG:SEND,0-0-31-31,s=2,c=2,t=3,pt=0,l=2,sg=0,ft=0,st=OK:27
      

      And then nothing happens.
      (The IC and IH are added by me to check on the interrupts, IC is interrupt clear and IH interrupt handle). I've switched on the internal LED on RFM69 interrupt and that is on when this occurs. It is not clear for me if this happens before or after the freeze.

      Now I've added the debug defines below, to get more information on what's happening before the freeze. But after this change the software is running for 47h already. So I suspect there could be some timing issue but not sure if, where and how.

      #define MY_DEBUG_VERBOSE_RFM69
      #define MY_DEBUG_VERBOSE_TRANSPORT_HAL
      #define MY_DEBUG_VERBOSE_RFM69_REGISTERS
      
      posted in Troubleshooting
      electrik
      electrik
    • RE: mysensors regularly disconnect from HA

      @keithellis flashing onto an esp8266 is still possible, but you have to make sure you use an earlier esp8266 package, below 3.0 IIRC.
      Compiling mysensors will give you an error probably, search on it in the forum and you will find more people with the same issue. And how to solve it

      posted in Home Assistant
      electrik
      electrik
    • RE: Expanding the size of an existing array?

      I think - am not sure - because you only include mysensors.h, which is only a header file without cpp files.

      posted in Development
      electrik
      electrik
    • RE: Dual Radio with Home Assistant Question

      @ejlane
      My configuration is this, and that seems to work correctly:

      mysensors:
        gateways:
          - device: mqtt
            persistence_file: '/config/mysensors-mqtt.json'
            topic_in_prefix: 'mygateway1-out'
            topic_out_prefix: 'mygateway1-in'
          - device: mqtt
            persistence_file: '/config/mysensors-rfm-mqtt.json'
            topic_in_prefix: 'ms-rfm-from'
            topic_out_prefix: 'ms-rfm-to'
        optimistic: false
        persistence: true
        retain: false
        version: '2.3'
      

      What exactly doesn't work in your case, and can you post your configuration?

      posted in Troubleshooting
      electrik
      electrik
    • RE: can't remove unused sensors from HA

      With the latest MySensors integration this is how to delete entities:

      • disable the MySensors integration
      • delete the entities in Home Assistant (note you have to change the option to show the disabled entities since the integration is disabled)
      • delete the entities from the persistence file (if you skip this step the entities will pop up again)
      • start the MySensors integration

      Hope it helps someone!

      posted in Home Assistant
      electrik
      electrik
    • RE: Help needed to setup a RFM69 & ESP8266 Gateaway on Adafruit Feather Huzzah

      The modules correspond to what it should be.
      It looks like your ground is connected to the ANT pin on the picture, on the bottom side of the PCB?

      posted in Development
      electrik
      electrik
    • RE: Dual Radio with Home Assistant Question

      Is it really needed to edit this entity?
      If you add it to your dashboard, you should be able to use it.
      On the top right click on the three dots, then edit dashboard. Create a card and add the sensor there and you should be good to go!

      posted in Troubleshooting
      electrik
      electrik
    • RE: which unit of measurement to use for V_RAINRATE?

      In https://github.com/mysensors/MySensors/blob/master/core/MyMessage.h#L135
      S_RAIN is used. As prefix I guess you can use whatever you want, eg mm/h

      posted in Home Assistant
      electrik
      electrik
    • RE: GUIDE - NRF5 / NRF51 / NRF52 for beginners

      @BearWithBeard
      Great explanation, thanks!
      On my windows 10 installation I had to run Zadig to make the programming from platformIO work.

      posted in Development
      electrik
      electrik
    • RE: Feather M0 RFM60HCW (433Mhz) - can't connect to gw

      Are you using the new driver on the gateway also?

      posted in Troubleshooting
      electrik
      electrik
    • RE: Send configuration (numbers) from HA to Arduino

      I'm doing a similar thing, but use node red to inject the values directly to mqtt. This brings more flexibility as it allows any value to be injected, while home assistant checks on values as they are defined in the mysensors protocol specification.

      posted in Home Assistant
      electrik
      electrik
    • RE: GUIDE - NRF5 / NRF51 / NRF52 for beginners

      @BearWithBeard Thanks that did it.
      Could it be the TX and RX are switched on the BMP in your post?

      posted in Development
      electrik
      electrik
    • RE: MY_GATEWAY_MQTT_CLIENT

      This is a good tip to add to the build instructions. Check if you plugged the cable 😂

      posted in Troubleshooting
      electrik
      electrik
    • RE: Howto trigger a doorbell?

      @harrdy You don't have to use a stepdown board, you can just use a resistor divider to lower the voltage.
      With one diode you will still not have a DC signal yet, better to use two diodes or a bridge rectifier. After the rectifier place a capacitor and the resistor divider.

      posted in Hardware
      electrik
      electrik
    • RE: Help, version 2.4-alpha, PI-4 64bits & Mac OS

      @briseis I would just switch back to 2.3.2
      I also believe 2.4 on the gateway should work with nodes on 2.3.2. what kind of errors did you get when doing this?

      posted in Development
      electrik
      electrik
    • RE: GWT:TPC:CONNECTING

      Do you have the latest ESP32 framework installed?

      posted in Troubleshooting
      electrik
      electrik
    • RE: [Solved] Beginner receive() question

      Yes, the serial communication is bidirectional for sure. I wasn't sure how sharing of the serial port is done between the in and out node.
      Since you receive data (right?) the sketch you have used should be all right.
      I have two doubts. The wait statement, could it be this prevents the data from being received?
      Second is there should be a newline at the end of the payload as send by the mysencode node.

      I'm using the node red also, though with a mqtt gateway.

      Edit: how did you deactivate the node? The right way is to delete it.

      posted in Node-RED
      electrik
      electrik
    • RE: Powering the nano with a battery

      @stkilda you can already gain quite some power saving if you take off the led and sleep the node, activate it when there is something to do.

      posted in Hardware
      electrik
      electrik
    • RE: GWT:TPC:CONNECTING

      Yes, but now use the 2.3.2 release with this modification

      posted in Troubleshooting
      electrik
      electrik
    • RE: [Solved] Beginner receive() question

      @Alberto77 said in Beginner receive() question:

      Yes I also tried with different characters added at the end (no character, \r, \n ) all tested, no effect.

      The right one is to add '\n'.

      The next try would be to connect the serial gateway to a pc and enable MY_DEBUG on the gateway. Maybe this tells you more.

      posted in Node-RED
      electrik
      electrik
    • RE: RFM69HW 868MHz working on 915MHz

      @kted The chip can work on different frequencies, but the discrete parts and the antenna are tuned for this frequency.
      As the frequencies you want to try are quite close, the discrete parts are the same and changing the frequency is a matter of settings in the chip. So a different sketch. And perhaps cut your antenna a bit.

      check https://youtu.be/soaE5X6_aRk

      posted in Hardware
      electrik
      electrik
    • RE: GWT:TPC:CONNECTING

      And if you change the lines like below now?

      @smilvert said in GWT:TPC:CONNECTING:

      it dosen't. But when I changed the delay to 3000
      bool gatewayTransportConnect(void)
      {
      #if defined(MY_GATEWAY_ESP8266) || defined(MY_GATEWAY_ESP32)
      if (WiFi.status() != WL_CONNECTED) {
      GATEWAY_DEBUG(PSTR("GWT:TPC:CONNECTING...\n"));
      delay(3000); // Was 1000
      return false;
      }
      GATEWAY_DEBUG(PSTR("GWT:TPC:IP=%s\n"), WiFi.localIP().toString().c_str());

      in MyGatewayTransportMQTTClient.cpp then it started to work!

      posted in Troubleshooting
      electrik
      electrik
    • RE: node-red-contrib-mysensors release thread

      In Home Assistant you have the Node Red configuration (under supervisor). There you can add packages to be installed under system_packages: []

      posted in Node-RED
      electrik
      electrik
    • RE: Solar/battery powering

      @david-d Andreas Spiess made a nice video for this, I think this is a good place to start:
      #383 Cheap and simple Solar Power for our small Projects (ESP32, ESP8266, Arduino) – 14:11
      — Andreas Spiess

      posted in Hardware
      electrik
      electrik
    • RE: GWT:TPC:CONNECTING

      That should be okay. Maybe use the mysensors stable release 2.3.2?

      posted in Troubleshooting
      electrik
      electrik
    • RE: node-red-contrib-mysensors release thread

      Yes I have home assistant but don't have the build essentials. I did some more reading and it seems like a package of build tools. Perhaps @tbowmo knows which specific one is needed?

      posted in Node-RED
      electrik
      electrik
    • RE: DIY zigbee sensor?

      Take a look here: https://diyruz.github.io/

      posted in Hardware
      electrik
      electrik
    • RE: GWT:TPC:CONNECTING

      Good to hear! Perhaps a GitHub issue should be raised for these points...

      posted in Troubleshooting
      electrik
      electrik
    • RE: node-red-contrib-mysensors release thread

      Shouldn't it be

      build-essentials
      

      ?

      posted in Node-RED
      electrik
      electrik
    • RE: Heltec Lora32 V2 Gateway

      Can you post your node and gateway sketch?
      I think you should start with an example sketch, e.g. you don't need the heltec defines I recall.

      posted in Hardware
      electrik
      electrik
    • RE: Sketch seemingly "hangs" while executing

      I've had similar issues, which in the end was caused by too little memory.
      What's is the memory usage saying? All these print statements require a lot of memory.

      posted in Troubleshooting
      electrik
      electrik
    • RE: Multi-radio per MCU

      Look here:
      https://forum.mysensors.org/topic/11135/something-s-cooking-in-the-mysensors-labs?_=1665077470840

      posted in Hardware
      electrik
      electrik
    • RE: can't get D1 mini gateway sketch to work

      A good start would be to post the sketch 🙂

      posted in Troubleshooting
      electrik
      electrik
    • RE: Sensor to measure amount of dripping water?

      A simple solution would be to weigh the condensate, but I'm not sure whether this is possible (from a mechanical point of view)

      posted in Hardware
      electrik
      electrik
    • RE: [SOLVED] RFM95 Node with gateway no parents found (But looks like messages are being sent)

      Shouldn't this define

      #define MY_RFM95_IRQ_NUM MY_RFM95_IRQ_PIN
      

      Be

      #define MY_RFM95_IRQ_NUM digitalPinToInterrupt(MY_RFM95_IRQ_PIN)
      

      Now the interrupt isn't handled and the received message isn't noticed.

      posted in Troubleshooting
      electrik
      electrik
    • RE: New user has questions

      Mysensors is a protocol on its own, so it will not decode your doorbell signal.
      An Arduino nano can't be reached over SSH no, the Arduino has a usb connection which gives out serial data to the raspberry

      posted in Hardware
      electrik
      electrik
    • RE: Gateway sends NACK to node

      You have a delay(10000); in the loop() function. To start I would comment that out and see if the issue is solved.
      During the delay() nothing can be done. You should use the millis() function to perform time based tasks, that won't block the loop.

      posted in Troubleshooting
      electrik
      electrik
    • RE: FindParents on RFM69HW node

      Have you connected the interrupt pin on the node?
      And perhaps tried without the new driver? I don't know how that works with a RPI, does it have an old driver also?

      posted in Troubleshooting
      electrik
      electrik
    • RE: Debugging without radio messages

      Yes, comment

      #define MY_DEBUG
      

      and in setup() add

      Serial.begin(115200);
      
      posted in Troubleshooting
      electrik
      electrik
    • RE: Remotes will not connect after latest compile

      There are two drivers on the RFM69 which aren't compatible. Check if you are using the same one on nodes and gateway.

      MY_RFM69_NEW_DRIVER
      

      Also the radio settings have to match.

      https://www.mysensors.org/apidocs/group__RFM69SettingGrpPub.html

      posted in Troubleshooting
      electrik
      electrik