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
M

mogul

@mogul
About
Posts
3
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • smartSleep possible bug and/or missing documentation (2.2.0)
    M mogul

    I am putting my node to sleep with smartSleep to let the controller request the node to redo its presentation.
    While experimenting I set the MY_SMART_SLEEP_WAIT_DURATION_MS to 2000 to let me fire the request by hand.
    I notice that the time smartSleep(5000) sleeps seems to be the value given plus the 2000, which totals at 7 seconds, and not the 5 seconds I expected. Is this a bug or have I misunderstood something?

    Second, looking at the communication on the other side of my ESP8266 based MQTT gateway I see the heartbeats as

    mygateway1-out/121/255/3/0/33 5000
    mygateway1-out/121/255/3/0/32 2000
    

    decoding the MQTT topic using https://www.mysensors.org/download/serial_api_2 I get:
    cmd 3 : Internal
    but the internal command table ends with number 28, not covering 32 and 33 I got.
    Anywhere else I should lookup those?

    Development

  • Which sensor type for district heating meter (Kamstrup 66)
    M mogul

    Thanks @mfalkvidd

    Yes, I have been down that route as well - stitching my meter together from other sensors already known by mysensors.

    I had a look at eg S_WIND, where the sensors can have 3 values, with one of them even in a completely different domain (V_DIRECTION)

    So ideally mysensors supported my energy meter as a "thing" with the relevant set of parameters.

    Question is if I should add a custom type to mysensors myself, does it support "local" additions? What would be the "correct" way to do it?

    Soon I might have all kinds of sensors which has never been in the scope of mysensors, and probably should never be either, like meals served in the canteen, cars in the parking lot and so on.

    mysensors appears to have some really cool communication implemented, I can just not fit into the types defined.

    I have found that simply setting type using something like msg.setType(99); give me full control, but it is of-course just another hack.

    Development

  • Which sensor type for district heating meter (Kamstrup 66)
    M mogul

    I read data from my Kamstrup 66 district heating meter using an optical eye.
    Question is which sensor type I should use. Interesting parameters are: Energy in Wh, volume in M3, forward and return temperatures in Celsius.
    Simply using V_VAR1-4 seems a bit lame. Alternative suggestions?

    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