Navigation

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

    Posts made by Hacker007

    • RE: Openhab MQTT Example

      Hi. I have figured it out. It is presented as "mysensor:MyMQTT/4/255/V_:state:default". No number in current version from mysensors!!!
      The next step was to edit MyMQTT.cpp: char V_50[] PROGMEM = ""; into char V_50[] PROGMEM = "50";. Now I get battery status via "mysensor:MyMQTT/4/255/V_50:state:default".

      So in conclusion I have answered my own questions and have solved them...

      posted in OpenHAB
      Hacker007
      Hacker007
    • RE: Openhab MQTT Example

      Hi.
      I have OpenHAB, MQTT and battery powered units (http://iot-playground.com/2-uncategorised/10-low-power-door-window-sensor). I cannot receive battery status in Openhab (other things from the same unit are transmitted OK). What is wrong?

      1. I send: gw.sendBatteryLevel(batLevel);
      2. Number node4_bat "Bat [%.1f %%]" <temperature> (node4, GBattery) {mqtt="<[mysensor:MyMQTT/4/255/50:state:default]"}

      I have seen somewhere that battery state is transmitted via '50'?!?

      posted in OpenHAB
      Hacker007
      Hacker007
    • RE: Problems compiling the MQTT Gateway sketch - Please help

      Hi. Tnx for the reply. Wires are OK. I use IBOARD. See my answer in other topic:
      http://forum.mysensors.org/topic/728/radio-setup-give-check-wires/37
      I got non + variant via Alice in "shop".

      posted in Troubleshooting
      Hacker007
      Hacker007
    • RE: Radio setup give: "check wires"

      Hi. I can confirm. I have bought modules from Alice too. They are "+"-less. I had to set datarate to 1Mbps and change "check wires" to "Not 24L01+ variant or check wires" + "//" before infinite loop.
      I suggest the maker of MySensors to add "Check the chip for +" in http://www.mysensors.org/build/debug troubleshooting.
      If anyone is interested, I've even bought some chips via Aliexpress and they have no square chip. It is glued like SOIC. It was sold as +, but it is +less.

      posted in Troubleshooting
      Hacker007
      Hacker007
    • RE: Problems compiling the MQTT Gateway sketch - Please help

      Hi.
      I have tried solution for SOFTSPI on my IBOARD, but the code only compiles if I use DigitalIO library in my main INO file too (I tried MQTTGateway ethernet on Iboard). I have the latest librarys.
      So try adding #include <DigitalIO.h> in your main INO code if you want SOFTSPI, or disable SOFTSPI anywhere it is declared...
      After uploading I get "check wires". So I am still finding solution for the further problem... 🙂

      posted in Troubleshooting
      Hacker007
      Hacker007
    • RE: Iboard - Cheap Single board Ethernet Arduino with Radio

      Hi. I have tried nneeoos' solution fot SOFTSPI, but the code only compiles if I use DigitalIO library in my main INO file too (I tried MQTTGateway ethernet on Iboard). I have the latest librarys. After uploading I get "check wires".

      posted in Hardware
      Hacker007
      Hacker007
    • RE: Cannot send ID

      Hi. Thank you all for advice.
      I have tried ceramic caps on small 24l01 but no success. I have not tried battery supply yet, but I will when time allows it. I installed 1.4.1 version, but did not see any difference... I continue to use NRF24L01+PA+LNA. Will change to small 24L01 when I achieve success.

      For my bench supply I use old PC ATX supply unit. I use 12V. Both Mysensor-units get voltage from 12V to their RAW pin. 12V also goes to my KIS-3R33S modules and 3V3 afterwards via 47uF elco to NRF. In both sketches I use delay(1000) as the first command for the NRF power supply to settle(?!?) then I use gw.begin...

      There is something new. If my hand is close to antenna of button/relay-sketch-unit (10cm or closer), the TX/RX is better (i.e. working). No difference if I touch gateway unit. Any idea? Maybe the whole problem is interference...

      ADDED: I have tried battery supply. Instead of 12V from old ATX PC supply I have tried 9V battery. There is no difference. Amplified NRF communication is 100% if both LNA units are used. If I mix them, or use only small 24L01+ all I get is "fail".

      Rok

      posted in Troubleshooting
      Hacker007
      Hacker007
    • RE: Cannot send ID

      Hi.
      I have figured it out why I still have problems with nrf24l01+ modules. They simply do not work well. Tx success is 1 in 5-10. If I change them with NRF24L01+PA+LNA modules communication works well (success rate 1/3).
      I have a 47uF cap next to modules and separate 3.3V switching supply for them. I measure something from 2.6-3.3V which is enough as specs declare. AVRs are pro mini 5V. Testing environment: modules are 20cm apart.

      Any idea?

      posted in Troubleshooting
      Hacker007
      Hacker007
    • Cannot send ID

      Hi. I am new to MySensors.
      I made a serial gateway and relay actuator. I do not have a controller yet. I try manually set the Relay-unit ID. Serial data I collected from gateway is:
      0;0;3;0;14;Gateway startup complete.
      0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      255;255;3;0;3;
      0;0;3;0;14;Gateway startup complete.

      After I reset gateway; I reset relay-node (It prints: "req node id" on its serial). I get is the above text. In a second or so I manually send text "255;255;3;0;1"+LineFeed

      All I get is a stuck gateway?!?!

      What to do? How to manually assign ID number?
      I use unmodified scatches.
      Tnx4help.

      posted in Troubleshooting
      Hacker007
      Hacker007