Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. msolo
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    msolo

    @msolo

    0
    Reputation
    4
    Posts
    66
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Location PL

    msolo Follow

    Best posts made by msolo

    This user hasn't posted anything yet.

    Latest posts made by msolo

    • RE: ESP8266 MQTT Client Node ID

      @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 ?

      posted in Development
      msolo
      msolo
    • RE: ESP8266 MQTT Client Node ID

      @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

      posted in Development
      msolo
      msolo
    • RE: ESP8266 MQTT Client Node ID

      @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

      posted in Development
      msolo
      msolo
    • home assistant cover via mqtt

      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
      posted in Home Assistant
      msolo
      msolo