Skip to content
  • MySensors
  • 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
T

tchoblond59

@tchoblond59
About
Posts
19
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Adafruit RFM69HCW Raspberry Gateway issue
    T tchoblond59

    I finally solve it !

    I forget to add #define MY_RFM69_NEW_DRIVER on the arduino node side ! Now it seems working fine

    Troubleshooting

  • Adafruit RFM69HCW Raspberry Gateway issue
    T tchoblond59

    Hi guys,

    I buy several things from adafruit
    RFM69HCW
    Feather 32u4 RFM

    Both in 915Mhz.
    I can run RelayActuator example from MySensors with this define

    #define MY_RADIO_RFM69
    #define MY_RFM69_FREQUENCY RFM69_915MHZ // Set your frequency here
    #define MY_IS_RFM69HW // Omit if your RFM is not "H"
    #define MY_RFM69_CS_PIN 8
    #define MY_RFM69_IRQ_PIN 7
    #define MY_RFM69_IRQ_NUM 4
    #define MY_NODE_ID 55
    

    But it only works with the serial gateway on another feather 32u4.
    I try to run mqtt gateway on rpi but it doesn't works.
    RST pin on afadruit RFM69HCW is wiring to GND
    G0 (Di0) is on pin 22
    I compile mysgw with

    ./configure --my-transport=rfm69 --my-rfm69-frequency=915 --my-is-rfm69hw --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1
    

    Here is the debus log when i launch mysgw

    Jan 09 10:29:12 INFO  Starting gateway...
    Jan 09 10:29:12 INFO  Protocol version - 2.3.1
    Jan 09 10:29:12 DEBUG MCO:BGN:INIT GW,CP=RPNGL---,REL=255,VER=2.3.1
    Jan 09 10:29:12 DEBUG TSF:LRT:OK
    Jan 09 10:29:12 DEBUG TSM:INIT
    Jan 09 10:29:12 DEBUG TSF:WUR:MS=0
    Jan 09 10:29:12 DEBUG TSM:INIT:TSP OK
    Jan 09 10:29:12 DEBUG TSM:INIT:GW MODE
    Jan 09 10:29:12 DEBUG TSM:READY:ID=0,PAR=0,DIS=0
    Jan 09 10:29:12 DEBUG MCO:REG:NOT NEEDED
    Jan 09 10:29:12 DEBUG MCO:BGN:STP
    Jan 09 10:29:12 DEBUG MCO:BGN:INIT OK,TSP=1
    Jan 09 10:29:12 DEBUG GWT:RMQ:MQTT RECONNECT
    Jan 09 10:29:12 DEBUG connected to 127.0.0.1
    Jan 09 10:29:12 DEBUG GWT:RMQ:MQTT CONNECTED
    Jan 09 10:29:12 DEBUG GWT:TPS:TOPIC=mysensors-out/0/255/0/0/18,MSG SENT
    Jan 09 10:29:12 DEBUG TSM:READY:NWD REQ
    Jan 09 10:29:12 DEBUG TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    Jan 09 10:29:36 DEBUG GWT:IMQ:TOPIC=mysensors-in/55/1/1/0/2, MSG RECEIVED
    Jan 09 10:29:36 DEBUG !TSF:RTE:55 UNKNOWN
    Jan 09 10:29:37 DEBUG !TSF:MSG:SEND,0-0-55-55,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:1
    

    I try to send via mqtt but always get NACK.

    Can someone help here ?

    Troubleshooting

  • RFM69CW Rpi Gateway to Arduino node issue
    T tchoblond59

    Hello,

    I'am trying to communicate between arduino uno and rpi gateway.
    I use MySensors 2.3.1 on each side and RFM69CW attach to it

    On arduino i use the RelayActuator example from MySensors with

    #define MY_NODE_ID 69
    #define MY_BAUD_RATE 9600
    #define MY_RADIO_RFM69
    

    On rpi side i compile it with

    ./configure --my-transport=rfm69 --my-rfm69-frequency=868 --my-gateway=mqtt --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1 --my-controller-ip-address=127.0.0.1
    

    When i launch rpi it seems ok

    Dec 19 17:44:12 INFO  Starting gateway...
    Dec 19 17:44:12 INFO  Protocol version - 2.3.1
    Dec 19 17:44:12 DEBUG MCO:BGN:INIT GW,CP=RPNGL---,REL=255,VER=2.3.1
    Dec 19 17:44:12 DEBUG TSF:LRT:OK
    Dec 19 17:44:12 DEBUG TSM:INIT
    Dec 19 17:44:12 DEBUG TSF:WUR:MS=0
    Dec 19 17:44:12 DEBUG TSM:INIT:TSP OK
    Dec 19 17:44:12 DEBUG TSM:INIT:GW MODE
    Dec 19 17:44:12 DEBUG TSM:READY:ID=0,PAR=0,DIS=0
    Dec 19 17:44:12 DEBUG MCO:REG:NOT NEEDED
    Dec 19 17:44:12 DEBUG MCO:BGN:STP
    Dec 19 17:44:12 DEBUG MCO:BGN:INIT OK,TSP=1
    Dec 19 17:44:12 DEBUG GWT:RMQ:MQTT RECONNECT
    Dec 19 17:44:12 DEBUG connected to 127.0.0.1
    Dec 19 17:44:12 DEBUG GWT:RMQ:MQTT CONNECTED
    Dec 19 17:44:12 DEBUG GWT:TPS:TOPIC=mysensors-out/0/255/0/0/18,MSG SENT
    Dec 19 17:44:12 DEBUG TSM:READY:NWD REQ
    Dec 19 17:44:14 DEBUG TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    

    When i launch arduino it seems ok too

    209 MCO:BGN:INIT REPEATER,CP=RRNRA---,REL=255,VER=2.3.1
    335 MCO:BGN:BFR
    352 TSM:INIT
    365 TSF:WUR:MS=0
    385 TSM:INIT:TSP OK
    405 TSM:INIT:STATID=69
    429 TSF:SID:OK,ID=69
    451 TSM:FPAR
    1683 TSF:MSG:SEND,69-69-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    3759 !TSM:FPAR:NO REPLY
    

    Wiring is double check.
    What's wrong with me ? If anyone has an idea tell me.
    Thanks

    Troubleshooting

  • Roller Shutter
    T tchoblond59

    Hi. I am building the roller shutter node myself and i am in trouble for programming it.
    I have an USBASP connected to it but i can't figure out.
    I install the driver, but when i try to burn bootloader from arduino program i have an error.

    Arduino : 1.8.5 (Windows 10), Carte : "Arduino/Genuino Uno"
    avrdude: warning: cannot set sck period. please check for usbasp firmware update.
    avrdude: error: program enable: target doesn't answer. 1 
    avrdude: initialization failed, rc=-1
             Double check connections and try again, or use -F to override
             this check.
    

    I try with a stock arduino uno and it's working fine.
    Do i need to tweak something cause on the shutter node there is a 8Mhz clock ?
    Or i just fail soldering ?

    Thanks

    Hardware

  • ESP8266 MQTT Client Node ID
    T tchoblond59

    Hi !
    My goal is to make a sensor node on a wemos D1 mini on ESP8266 with MQTT directly on WIFI.
    I can push and receive message from the MQTT broker but when i send something (like a relay status) the node id of my sensor is 0 and i can't change it even with #define MY_NODE_ID 5.
    I use GatewayESP8266MQTTClient sketch and i comment //#define MY_RADIO_NRF24

    So how can i force it ? Thanks.

    Development

  • RPI Gateway - !TSM:INIT:TSP FAIL
    T tchoblond59

    For the moment i am able to compile by going to previous commit
    git checkout 9e5a1e32
    make

    (I haven't test with a nrf24 but i can launch mysgw )

    Troubleshooting

  • RPI Gateway - !TSM:INIT:TSP FAIL
    T tchoblond59

    I open an issue on github
    https://github.com/mysensors/MySensors/issues/980

    Hope i will be able to fix it. I will try to reinstall a raspbian when i have some times

    Thanks for the help

    Troubleshooting

  • RPI Gateway - !TSM:INIT:TSP FAIL
    T tchoblond59

    make clean
    ./configure --my-gateway=ethernet --my-port=5003
    make

    Same error after this.

    Troubleshooting

  • RPI Gateway - !TSM:INIT:TSP FAIL
    T tchoblond59

    @mfalkvidd
    ./configure --my-transport=nrf24 --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1 --extra-cxxflags="-D__STDC_FORMAT_MACROS"

    gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1)
    PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"

    Troubleshooting

  • RPI Gateway - !TSM:INIT:TSP FAIL
    T tchoblond59

    @mfalkvidd I have the same issue. Even with --extra-cxxflags="-D__STDC_FORMAT_MACROS".

    Troubleshooting

  • LaraHome (Web Controller based on Laravel)
    T tchoblond59

    @Nca78 Great, don't worry there is tons of ressources in Laravel so i can help you.

    I will prepare LaraHome for translation and tell you when it's done

    Controllers

  • LaraHome (Web Controller based on Laravel)
    T tchoblond59

    @hek Glad to see this but I think it's not enough complete. The controller could handle all the MySensors node but community need to developp their own plugin. For the moment there's only temp and humidity sensor and relay.

    Thank you, i will tell you when i'am ready

    Controllers

  • LaraHome (Web Controller based on Laravel)
    T tchoblond59

    Hello,

    I just want to share my project with you. LaraHome is a web controller write in php with the Laravel Framework. I create this to create my own widget easily and have custom sensor integrate perfectly in the controller. The interface is real time, that means that if someone else switch on a relay for example you will see the animation on the UI without refreshing the page.

    This is still in development and in french but it can be easily traduce in english. If some of you want to be involve in an open source project dont hesitate to contact me. I can help you for everything, if you want to developp a plugin or if you want me to developp the plugin for your custom node, add functionnality...

    Edit: Should i post this here or in MyProject topic ?

    LaraHome

    LaraHome

    Controllers

  • Problem with Rpi mqtt gateway
    T tchoblond59

    Can you post the link ?

    Development

  • Problem with Rpi mqtt gateway
    T tchoblond59

    Ok. I'am just using it like this for testing. When i will be ready i'am gonna make or buy an all in one hat for my rpi. But i'am gonna look at your nrf24 socket

    Development

  • Problem with Rpi mqtt gateway
    T tchoblond59

    Wow you were right... I connect it on another Raspberry without screen and it seems to work.

    Now i'am gonna try to build my first arduino node to make some test and debug with mqtt.

    (The project behind this is to build a home made controller based on Laravel (php framework) to control my house)

    Thanks guys !

    Development

  • Problem with Rpi mqtt gateway
    T tchoblond59

    They go on the official rpi screen 7"

    I try to power the nrf24 from an arduino. Is it enough or should i try with dedicated power supply ?

    My capacitor is 100uF is it enough ?

    Development

  • Problem with Rpi mqtt gateway
    T tchoblond59

    I try both PA+NLA and the other. I know about the power issue and i also add a little capacitor betwenn VCC and GND.

    That's hard to take a photo of this but...

    Thanks for the help0_1497952514893_20170620_115410[1].jpg
    0_1497952530717_20170620_115335[1].jpg

    Development

  • Problem with Rpi mqtt gateway
    T tchoblond59

    Hello ! I am new in MySensors project and i follow this guide

    But i get this error message when launch mysgw

    mysgw: Starting gateway...
    mysgw: Protocol version - 2.2.0-beta
    mysgw: MCO:BGN:INIT GW,CP=RNNG----,VER=2.2.0-beta
    mysgw: TSF:LRT:OK
    mysgw: TSM:INIT
    mysgw: TSF:WUR:MS=0
    mysgw: !TSM:INIT:TSP FAIL
    mysgw: TSM:FAIL:CNT=1
    mysgw: TSM:FAIL:DIS
    mysgw: TSF:TDI:TSL
    

    I double check the wiring, SPI is activated, my NRF24L01 module works on an Arduino and mosquitto works fine on my Rpi.

    Did i miss something ?

    Development
  • Login

  • Don't have an account? Register

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