Navigation

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

    electrik

    @electrik

    94
    Reputation
    384
    Posts
    692
    Profile views
    2
    Followers
    0
    Following
    Joined Last Online

    electrik Follow

    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

    Latest posts made by electrik

    • RE: ESP32, MySensors and function

      You should only include the relevant header file in the file Gestion_Porte.hpp, not Mysensors.h
      For example

      #include <core/MyTransport.h>
      
      posted in Development
      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
    • RE: Requesting for help building traffic light led module node

      You need to send the initial state of the sensor
      https://www.home-assistant.io/integrations/mysensors/

      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: Lights on after gateway reboot

      If the message is retained, it will show up already when you connect MQTT explorer to the broker, without HA sending a message yet

      posted in Troubleshooting
      electrik
      electrik
    • RE: Lights on after gateway reboot

      Could it be the MQTT message is retained? You can use a tool like MQTT explorer to see this

      posted in Troubleshooting
      electrik
      electrik
    • RE: Request the status of a Home Assistant entity that is not defined in the MySensors integration?

      With some logic in home assistant like in an automation or node red, this is possible. Use a helper function to set the state, and request that status from the node

      posted in Home Assistant
      electrik
      electrik
    • RE: Which one should i choose? PIR or microwave sensor

      If you are building a presence sensor, take a look at the LD2410.
      Also check the review from Andreas Spiess:
      https://m.youtube.com/watch?v=dAzHXpP3FcI&vl=en

      posted in Hardware
      electrik
      electrik
    • RE: RSSI affects Sleep Timer??

      600000ms is 10 minutes 😉
      Perhaps messages gets lost in the other room?

      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