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
Artur MajA

Artur Maj

@Artur Maj
About
Posts
8
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • PiGatewayMQTT v2.0 switching relay.
    Artur MajA Artur Maj

    I did some debugging of my mqtt broker. It seems that PiGatewayMQTT is not subscribing to receive notifications from broker.
    Is the PiGatewayMQTT able to receive messages from broker and sending them back to nodes?

    Development

  • PiGatewayMQTT v2.0 switching relay.
    Artur MajA Artur Maj

    That what I tested first. I getting no response from PiGatewayMQTT. It seems that it is not subscribing to this subject.
    My broker sends the message. I can see it on my other eventghost as:

    12:51:10 MQTT./mySensors/1/1/V_LIGHT u"1"

    Development

  • PiGatewayMQTT v2.0 switching relay.
    Artur MajA Artur Maj

    I have the PiGatwayMQTT and mosquitto running on my raspberry.
    My double relay controler is connecting to it.
    As it can be seen on my EventGhost MQTT client below:
    MQTT./mySensors/1/255/I_REQUEST_SIGNING u""
    MQTT./mySensors/1/255/S_ARDUINO_REPEATER_NODE u"2.0.0-beta"
    MQTT./mySensors/1/255/I_CONFIG u"0"
    MQTT./mySensors/1/255/I_SKETCH_NAME u"Relay"
    MQTT./mySensors/1/255/I_SKETCH_VERSION u"1.0"
    MQTT./mySensors/1/1/S_LIGHT u""
    MQTT./mySensors/1/2/S_LIGHT u""
    The question is what should I send to MQTT broker in order to switch the relay.
    I tried a lot of possible combinations with no success.

    Development

  • Using mqttGateway2.pl for Serial to MQTT on RaspberryPI
    Artur MajA Artur Maj

    @aaron832 It says armv7l. Please, note it is not armv71 the last character is small "L" not 1 (one). This is raspberry pi 2 with ubuntu mate 15.10. I am going to edit Makefile replacing armv71 with armv7l and see what's happening. Thanks again.

    General Discussion

  • Using mqttGateway2.pl for Serial to MQTT on RaspberryPI
    Artur MajA Artur Maj

    @aaron832 While running make all from libraries/MySensors I am getting errors like that:

    examples_RPi/PiGateway.o: In function transportSendWrite(unsigned char, MyMessage&)': /home/artur/Arduino-feature-MQTTSupport/libraries/MySensors/./core/MyTransportNRF24.cpp:102: undefined reference to RF24::powerUp()'
    /home/artur/Arduino-feature-MQTTSupport/libraries/MySensors/./core/MyTransportNRF24.cpp:103: undefined reference to RF24::stopListening()' /home/artur/Arduino-feature-MQTTSupport/libraries/MySensors/./core/MyTransportNRF24.cpp:104: undefined reference to RF24::openWritingPipe
    and continues....
    I have installed : https://github.com/TMRh20/RF24.
    What I am doing wrong?

    General Discussion

  • Using mqttGateway2.pl for Serial to MQTT on RaspberryPI
    Artur MajA Artur Maj

    @aaron832 Thanks I will do that. In fact I am connecting MySensors to eventghost not OpenHab but the ide MQTT is the same.

    General Discussion

  • Using mqttGateway2.pl for Serial to MQTT on RaspberryPI
    Artur MajA Artur Maj

    OK, I had to install mosquitto libraries: sudo apt-get install libmosquitto-dev . All compiled fine. It is always good to ask.

    General Discussion

  • Using mqttGateway2.pl for Serial to MQTT on RaspberryPI
    Artur MajA Artur Maj

    Thanks aaron832 for the gateway.
    While running make all from under libraries/MySensors I am getting:
    examples_RPi/PiGatewayMQTT.cpp:42:23: fatal error: mosquitto.h: No such file or directory
    compilation terminated.
    Makefile:102: recipe for target 'examples_RPi/PiGatewayMQTT.o' failed
    make: *** [examples_RPi/PiGatewayMQTT.o] Error 1
    Can you help?

    General Discussion
  • Login

  • Don't have an account? Register

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