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

msolo

@msolo
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ESP8266 MQTT Client Node ID
    M msolo

    @mfalkvidd it's working, but i think in not pro way - why ? you need create separate channel for communicastion ( for security point it's ok ) but if you have many nodes and you want exchange some informasion insite network it't will be not working you need some integrasion ex domoticz, hassio etc bo some think chane in other node. Maybe you add this option to change node_id in mqtt gatway ?

    Development

  • ESP8266 MQTT Client Node ID
    M msolo

    @mfalkvidd
    MY_MQTT_CLIENT_ID was rewrite for other device

    so if I good understand, the best options is use dedicated channel for communication

    ex:
    arduino00:
    MY_MQTT_PUBLISH_TOPIC_PREFIX=mysensors-in00
    MY_MQTT_SUBSCRIBE_TOPIC_PREFIX "mysensors-out00
    domoticz for ex:
    new: mysensor gateway mqtt with TOPIC : mysensors-${in/out}00

    arduino01
    the same action but change 00->01

    Development

  • ESP8266 MQTT Client Node ID
    M msolo

    @mfalkvidd
    why node ID need to be 0 ? I want to have a few node ( different localization ) and all arduino node should be have unical node_id but only sketch name can by unical.

    I'm using MY_GATEWAY_MQTT_CLIENT

    Development

  • home assistant cover via mqtt
    M msolo

    Hi,
    Can someone help with moving from dynamic cfg ( mysensor discovery ) to static mqtt cover cfg

    mysensors:
        gateways:
          - device: 'mqtt'
            topic_in_prefix: 'mysensors-in'
            topic_out_prefix: 'mysensors-out'
            persistence_file: '/opt/homeassistant/mysensors.json'
        optimistic: false
        persistence: true
        retain: true
        version: '2.3'
    

    cover.yaml:

      - platform: mqtt
        name: "${cover.name}"
        command_topic: "mysensors-in/${nodeid}/${cover.id}/1/0/3"
        state_topic: "mysensors-in/${nodeid}/${cover.id}/1/0/3"
        qos: 0
        retain: true
        position_open: 100
        position_closed: 0
    

    mysensors.json

    {
        "0": {
            "sensor_id": 0,
            "children": {
                "1": {
                    "id": 1,
                    "type": 5,
                    "description": "",
                    "values": {
                        "30": "1",
                        "3": "0",
                        "31": "1"
                    }
                },```
    ...
    
    how should look currect
    command_topic
    state_topic
    set_position_topic
    position_topic
    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