Skip to content

General Discussion

A place to talk about whateeeever you want
1.5k Topics 14.2k Posts
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    14 Views
    No one has replied
  • set Metric on gw?

    7
    0 Votes
    7 Posts
    3k Views
    G
    @Tango2 I had been doing this a different way until I noticed the GW should be able to do it. BTW, It is only working on one node, not sure why :(. Anyway, my alternate solution allows be to send "settings: to the nodes. For example, change the loop time or measurement unit. This is not the complete code, just the relevant parts (hopefully). void setup() { gw.begin(incomingMessage, nodeID); } void loop() { gw.process(); } void incomingMessage(const MyMessage &message) { if (message.type == 97) { Serial.print("Recvd Time"); Serial.println(time); timeReceived=true; } if (message.type == 98) { int reqsleep = atoi( message.data ); SLEEP_TIME = reqsleep*1000; Serial.print( "Changing sleep to: " ); Serial.println( String(reqsleep) ); } if (message.type == 99) { int requnit = atoi( message.data ); Serial.print( "Changing units to: " ); if(requnit == M){ metric = true; Serial.println( "metric" ); } else { metric = false; Serial.println( "imprerial" ); } } } Using this code, I can send things from openhab, or any serial command I suppose. My openhab rules Send Units: sendCommand(Arduino, "101;99;1;0;99;M\n") Send Time: var Number time1 time1 = now().getMillis() / 1000 sendCommand(Arduino, "101;97;1;0;97;" + time1 + "\n")
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    8 Views
    No one has replied
  • Help to get back on the road

    1
    0 Votes
    1 Posts
    675 Views
    No one has replied
  • How to verify that ethernet gateway is working without sensors

    6
    0 Votes
    6 Posts
    2k Views
    M
    WHOO Everything seems to be working now:) //Mathias
  • Hi everyone

    7
    0 Votes
    7 Posts
    2k Views
    C
    :flushed: :satisfied:
  • Multiple gateways on one controller. Is it possible?

    5
    0 Votes
    5 Posts
    3k Views
    FotoFieberF
    My setup looks like this: MQTT Client Gateway <-> mosquitto mqtt server <-> OpenHab With this setup you can have multiple MQTT Client Gateway (with different topics).
  • Website corrections

    3
    0 Votes
    3 Posts
    1k Views
    C
    thanks for the corrections
  • Mysensors bootloader

    2
    0 Votes
    2 Posts
    2k Views
    hekH
    There isn't any official page for this yet as this has mostly been experimental features. We should probably set one up at some time. To send out an OTA firmware I would recommend using the MYSController which has a nice GUI for it. But you still need to compile your code and grab the hex-file to send. All this isn't exactly beginner-level stuff. Would have been nice if someone could wrap all this up and incorporate it in the Arduino IDE or something.
  • controlling multiple distributed relays

    3
    0 Votes
    3 Posts
    1k Views
    P
    thanks for the help.. is there a way to send.msg directly to another node without mucking with "MyMessage". ie.. sent a msg on the fly to fire a relay on another module. i have looked through the api and don't really understand how i can send it with out upsetting the rest of the sketch. thanks again hope it makes sense. Phil
  • Google: Brillo and Weave

    1
    0 Votes
    1 Posts
    888 Views
    No one has replied
  • UV Sketch use pin A0 or 3?

    2
    0 Votes
    2 Posts
    912 Views
    hekH
    @edweather said: http://www.mysensors.org/build/uv The documentation on site is wrong. A0 is the correct pin. Thanks for reporting, I'll update.
  • MQTT Gateway + Node-Red + Vis

    3
    1 Votes
    3 Posts
    2k Views
    bpairB
    Thanks - I will give it a try.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    32 Views
    No one has replied
  • Just getting "find parent"

    2
    0 Votes
    2 Posts
    1k Views
    hekH
    Your node is sending out a broadcast message looking for parent (gateway or repeater node). No-one seems to reply to this request.
  • Australia might criminalise teaching of encryption

    3
    0 Votes
    3 Posts
    1k Views
    RJ_MakeR
    Australia is a trial stomping ground for stuff like this, The results (determined by the Aussie's tolerance for such things) seem to find it's way to other parts of the world...
  • valuses form mysensors to own web page.

    2
    0 Votes
    2 Posts
    932 Views
    J
    Don't know about the others, but openHAB has a REST API and is able to draw nice charts as a picture which you can embed in your web page.
  • Log Translation

    12
    0 Votes
    12 Posts
    4k Views
    F
    What are logs on Domoticz when you restart your node?
  • Battery Sensor / Voltage Monitor

    24
    0 Votes
    24 Posts
    14k Views
    S
    @jeylites You may change R1 and R2 and you don't destroy (A0). An other way is to change the multiplicator (0.003363075) in the formula: float batteryV = sensorValue * 0.003363075;
  • Creating a Blind/Roller Shutter like Fibaro FGR221

    7
    0 Votes
    7 Posts
    4k Views
    Roberto BrunialtiR
    Any practical experience with Fibaro in mysensors environment?

12

Online

11.7k

Users

11.2k

Topics

113.0k

Posts