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
Dave DanD

Dave Dan

@Dave Dan
About
Posts
65
Topics
9
Shares
0
Groups
0
Followers
1
Following
4

Posts

Recent Best Controversial

  • Free MySensors 2.0 workshop, Friday 9 September in Amersfoort (The Netherlands)
    Dave DanD Dave Dan

    @TheoL , +1 for broadcasting the workshop ... :)

    General Discussion

  • MySensors 2.0 support
    Dave DanD Dave Dan

    So, quick question:

    What's the best way to update a full environment. I have an Ethernet GW with multiple sensors across the house.

    If the Serial Protocol hasn't been modified, can I start updating nodes and once all of them are in 2.0 update the GW without loosing functionality? or should I update everything in one shoot?

    Domoticz

  • Global variables without compile again
    Dave DanD Dave Dan

    Actually, now reading the GW code, I think I'm asking for something like the 'metric' variable usually checked in the setup method.

    Development

  • Can't see my nodes on HA web interface
    Dave DanD Dave Dan

    I had the same issue but adding this in the sensor config will make it work:

      optimistic: true
    

    I think is related to the fact that your node is not sending confirmation after assigning the new value (activating /deactivating the relay).

    Home Assistant

  • Global variables without compile again
    Dave DanD Dave Dan

    Hi all,

    I'm trying to find a solution for the following scenario.

    Right now I have deloyed ~10 sensor boxes with Motion, Temperature, Humidity & Light level. All of them working without issue.

    I'd like to find a way to have some variables outside the Arduino Code that I can change in realtime and that Arduinos will use (let's say by restarting) without needed to recompile and flash them.

    My first thinking is to have something in the GW that I can customize and that each and every node will consume.

    I think the usage example will be for Sleep timers. When everything is in 'running mode' well, sleeptimer for Temp & Huidity gathering can be high (let's say 1 measurement every 5 minutes). But if I'm testing something or want to investigate if the system works or something being able to alter this value to 10 seconds would be great

    Not sure if I'm explaining enough what I'm trying to address but please feel free to help me scope it.

    Is there any way I can do this?

    Thanks in advance.

    Development

  • Set Dimmer level in a Script
    Dave DanD Dave Dan

    Yup. Got it.

    Sorry, wasn't very specific in my ask.

    I'm looking for ideas on how to implement this in HA. Still not mastering the language enough to figure this one out.

    Thanks sir!!

    Home Assistant

  • Set Dimmer level in a Script
    Dave DanD Dave Dan

    Hi All,

    I'm trying to find a way to set the value for a Dimmer from a Script.

    I know it sounds easy but I've found myseft somehow challenged with this.

    The idea is to dim a light to compensate the lack of light in a room so the less light in the room (measured from a light sensor) the high in the dimmer.

    ideas?

    thanks in advance.

    Home Assistant

  • PCB and 3D print companies
    Dave DanD Dave Dan

    wow, thank you all for all the links!

    Enclosures / 3D Printing

  • PCB and 3D print companies
    Dave DanD Dave Dan

    Hi all,

    I'm looking for companies that I can send them designs for PCBs and / or 3D designs.

    I see in other thread one in http://www.pcbway.com. any experiences from anyone?

    Thanks in advance

    Enclosures / 3D Printing

  • 2 controllers and 1 gateway - expected behavior??
    Dave DanD Dave Dan

    Thanks for the idea.

    Can you share some details on how to do that? I think it would be worth to try.

    Thanks!!

    Troubleshooting

  • 2 controllers and 1 gateway - expected behavior??
    Dave DanD Dave Dan

    Well, that makes sense. Thank you sir.

    On your question. It depends. Sometimes just works others is like no command has been sent.

    So, form whomever have experience on migrating from one controller to another. What would it be the best approach? Shutdown the Vera side and work on HA directly adding all nodes? An step-by-step approach? (Sounds to me like no ... But better check)

    Troubleshooting

  • 2 controllers and 1 gateway - expected behavior??
    Dave DanD Dave Dan

    Hi all,

    I'm moving my mysensors nodes from Vera to Home Assistant and I'm finding some issues related to inconsistencies in the info.

    Does anybody know if because I'm using 2 controllers at the same time pulling from the same Ethernet gateway they can be impacting each other?

    If I stop one of them the behavior is normal. When I have both looks like some commands are not reaching nodes or GW (switch on a relay, etc). This is not consistent either, sometimes goes fine others it's just unmanageable.

    Ideas?? Thoughts?

    Troubleshooting

  • Motion Sensor stopped working on combined sketch ( Hum, Temp, Motion + Bat Level )
    Dave DanD Dave Dan

    Yeah, @TimO Is right.

    Check the code example here http://www.mysensors.org/build/motion and look for the gw.sleep sentence.

    I have a similar sensor and this is what I have in my scketch:

    gw.sleep(INTERRUPT,CHANGE, SLEEP_TIME);

    The problem with your sentenc is that the sleep command is not overridden by the motion detection. You need to include the interruption as part of the sleep command.

    Troubleshooting

  • Any plan to implement Ethernet GW?
    Dave DanD Dave Dan

    hey Martin.

    Sorry, I've been traveling for a while.

    So I just rebuilt my environment and I can't repro the issue anymore.

    If you can't either and no one else is experiencing this I think we can close this down. My environment might be the only thing that is creating the issue.

    If the issue happen again I can update with the new information.

    Home Assistant

  • Any plan to implement Ethernet GW?
    Dave DanD Dave Dan

    hey @drock1985,

    No I didn't test that before, but I just did with the same results :(

    I can see in the log how messages are arriving to HA (see below). It's just I can't see them either in the group I created for them or in the Developer Tools.

    16-03-31 09:42:37 DEBUG (Thread-20) [mysensors.mysensors] Received 101;1;1;0;0;20.0
    
    16-03-31 09:42:37 DEBUG (Thread-20) [mysensors.mysensors] Received 101;0;1;0;1;36.0
    
    16-03-31 09:42:37 DEBUG (Thread-20) [mysensors.mysensors] Received 101;3;1;0;16;0
    

    If I go back and restore the previous file I can see them on both the group and the Developer Tools section.

    @martinhjelmare, hope this helps as well ... is is there any specific test you want me to perform please let me know.

    Home Assistant

  • Any plan to implement Ethernet GW?
    Dave DanD Dave Dan

    ahh, ok, makes sense.

    no problem at all! :)

    Home Assistant

  • Any plan to implement Ethernet GW?
    Dave DanD Dave Dan

    hey @martinhjelmare,

    would it be possible to have an updated compilation with the 0.16 versión? I think the one you have above is 0.15 still (or older, right?)

    I'd like to do more testing and integrate other items (for example the new Vera integration) with MySensors actuations, etc.

    thanks in advance.

    Home Assistant

  • Any plan to implement Ethernet GW?
    Dave DanD Dave Dan

    Exactly that.

    maybe something to do with the fact that those items are already included in the DB (for history, etc) and the system can't add them again? (just guessing)

    One more thing.

    If I move the file and create a new one instead of deleting it. And after trying to add the items again I stop everything and restore the backup everything works again.

    Home Assistant

  • Any plan to implement Ethernet GW?
    Dave DanD Dave Dan

    Sure!

    the persistence once I've added some nodes looks like this:

    {"104": {"sketch_version": "1.0", "children": {"0": {"id": 0, "values": {"1": "38.0"}, "type": 7}, "1": {"id": 1, "values": {"0": "22.0"}, "type": 6}, "2": {"id": 2, "values": {"23": "34"}, "type": 16}, "3": {"id": 3, "values": {"16": "0"}, "type": 1}}, "battery_level": 0, "sensor_id": 104, "type": 17, "sketch_name": "dyaSensor (HTLM)"}, "106": {"sketch_version": "1.0", "children": {"0": {"id": 0, "values": {"1": "37.0"}, "type": 7}, "1": {"id": 1, "values": {"0": "22.0"}, "type": 6}, "2": {"id": 2, "values": {"23": "5"}, "type": 16}, "3": {"id": 3, "values": {"16": "0"}, "type": 1}}, "battery_level": 9, "sensor_id": 106, "type": 17, "sketch_name": "dyaSensor (HTLM)"}, "156": {"sketch_version": null, "children": {}, "battery_level": 0, "sensor_id": 156, "type": 17, "sketch_name": null}, "101": {"sketch_version": "1.2", "children": {"0": {"id": 0, "values": {"1": "34.0"}, "type": 7}, "1": {"id": 1, "values": {"0": "21.0"}, "type": 6}, "2": {"id": 2, "values": {}, "type": 16}, "3": {"id": 3, "values": {"16": "0"}, "type": 1}}, "battery_level": 0, "sensor_id": 101, "type": 17, "sketch_name": "dyaSensor (HTLM) v1.2"}, "102": {"sketch_version": "1.0", "children": {"0": {"id": 0, "values": {"1": "36.0"}, "type": 7}, "1": {"id": 1, "values": {"0": "18.0"}, "type": 6}, "2": {"id": 2, "values": {"23": "69"}, "type": 16}, "3": {"id": 3, "values": {"16": "0"}, "type": 1}}, "battery_level": 2, "sensor_id": 102, "type": 17, "sketch_name": "dyaSensor (HTLM)"}}
    

    after my modification (meaning, clear everything) looks this way:

    {}
    
    Home Assistant

  • Any plan to implement Ethernet GW?
    Dave DanD Dave Dan

    Hey @martinhjelmare,

    I've been able to do some tests this time.

    From a Sensoring standpoint (retreive information from sensors to show in dashboard) works perfetly fine.

    I found the issue that I was referring before.

    Let's say you have already included a number of nodes and everything is working but for any reason you want to reset and start again. My logic was to remove the MSPersistance.json file, create a new one and the system will reconfigure again.

    What I'm seeing is that if you do that the system enters in a limbo situation where no nodes are added but those that were beforer are not added either. you can't see them in the dashboard nor in the Developers Tools section.

    Next step is to start testing relays, dimmers, etc.

    Let me know if you need more detils on the scenario.

    thanks!

    Home Assistant
  • Login

  • Don't have an account? Register

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