Navigation

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

    Posts made by Gefkuz

    • RE: 💬 Building a MQTT Gateway

      Hi,

      There is a missing parameter in your sketch :
      // The MAC address can be anything you want but should be unique on your network.
      // Newer boards have a MAC address printed on the underside of the PCB, which you can (optionally) use.
      // Note that most of the Ardunio examples use "DEAD BEEF FEED" for the MAC address.
      #define MY_MAC_ADDRESS 0x90, 0xA2, 0xDA, 0x10, 0xEB, 0x1D

      In normal way, this line is note really important.
      But if you want to use two separate MQTT on the same network, you should add this line and modify the mac adress on the two MQTT...

      Bye

      posted in Announcements
      Gefkuz
      Gefkuz
    • RE: another relay problem....

      You've got it.
      Your a chief.
      I have deleted all references of empty files in my config file.
      And it works perfectly....
      Youhou.!!!!!!!!!!!!!!!!

      Many thanks to all.....
      And now, automation.. Yeah!!!

      posted in Home Assistant
      Gefkuz
      Gefkuz
    • RE: another relay problem....

      I make some tests.
      I switch v_type and s_type values in my sketch.
      And when I write S_BINARY or S_LIGHT........ no add sensor appeared....

      posted in Home Assistant
      Gefkuz
      Gefkuz
    • RE: another relay problem....

      Haha, I think we ahve something.
      My mysensor config is

      mysensors:
       gateways:
       - device: 'COM4'
      # persistence_file: 'mysensors.json'
       baud_rate: 115200
       debug: true
       persistence: false
       version: '1.5'
       optimistic: 'true'
      

      and switch file is empty.... I don't see anything about that in homeassistant website...
      What can I do?

      posted in Home Assistant
      Gefkuz
      Gefkuz
    • RE: another relay problem....

      Hi,

      I reprogram the gateway with same pc than the switch, then the same mysensor library.
      I launch homeassistant without persistent file mysensor.
      And same problem... 😞 😞

      Microsoft Windows [version 6.3.9600]
      (c) 2013 Microsoft Corporation. Tous droits réservés.
      
      C:\Users\Fabien>py -m homeassistant
      Config directory: C:\Users\Fabien\AppData\Roaming\.homeassistant
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeas
      sistant, service=turn_off>
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeas
      sistant, service=turn_on>
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeas
      sistant, service=toggle>
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeas
      sistant, service=reload_core_config>
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=persis
      tent_notification, service=create>
      INFO:homeassistant.bootstrap:Home Assistant core initialized
      INFO:homeassistant.loader:Loaded script from homeassistant.components.script
      INFO:homeassistant.loader:Loaded group from homeassistant.components.group
      INFO:homeassistant.loader:Loaded input_select from homeassistant.components.inpu
      t_select
      INFO:homeassistant.loader:Loaded media_player from homeassistant.components.medi
      a_player
      INFO:homeassistant.loader:Loaded http from homeassistant.components.http
      INFO:homeassistant.loader:Loaded weblink from homeassistant.components.weblink
      INFO:homeassistant.loader:Loaded automation from homeassistant.components.automa
      tion
      INFO:homeassistant.loader:Loaded shell_command from homeassistant.components.she
      ll_command
      INFO:homeassistant.loader:Loaded camera from homeassistant.components.camera
      INFO:homeassistant.loader:Loaded mysensors from homeassistant.components.mysenso
      rs
      INFO:homeassistant.loader:Loaded frontend from homeassistant.components.frontend
      
      INFO:homeassistant.loader:Loaded api from homeassistant.components.api
      INFO:homeassistant.loader:Loaded history from homeassistant.components.history
      INFO:homeassistant.loader:Loaded recorder from homeassistant.components.recorder
      
      INFO:homeassistant.loader:Loaded input_slider from homeassistant.components.inpu
      t_slider
      INFO:homeassistant.loader:Loaded switch from homeassistant.components.switch
      INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=recor
      der>
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=input_
      select, service=select_option>
      INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=None, en
      tity_id=input_select.station, new_state=<state input_select.station=BBC Radio Be
      rkshire; options=['BBC Radio Berkshire', 'BBC Radio Two', 'Heart'], friendly_nam
      e=Station, icon=mdi:radio-tower @ 2016-08-17T21:07:10.881326+02:00>>
      INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=input
      _select>
      INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=http>
      
      ERROR:homeassistant.bootstrap:Invalid config for [media_player]: required key no
      t provided @ data['platform']. Got None
      INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=None, en
      tity_id=weblink.freebox, new_state=<state weblink.freebox=http://192.168.1.1; fr
      iendly_name=FreeBox, icon=mdi:router-wireless @ 2016-08-17T21:07:11.146946+02:00
      >>
      INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=webli
      nk>
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=shell_
      command, service=battery>
      INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=shell
      _command>
      INFO:homeassistant.loader:Loaded camera.generic from homeassistant.components.ca
      mera.generic
      INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=None, en
      tity_id=camera.london_road, new_state=<state camera.london_road=idle; entity_pic
      ture=/api/camera_proxy/camera.london_road?token=60691888, access_token=60691888,
       friendly_name=London Road @ 2016-08-17T21:07:11.240702+02:00>>
      INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=camer
      a>
      INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=mysen
      sors>
      ERROR:homeassistant.bootstrap:Invalid config for [switch]: required key not prov
      ided @ data['platform']. Got None
      INFO:homeassistant.loader:Loaded sensor from homeassistant.components.sensor
      INFO:homeassistant.loader:Loaded binary_sensor from homeassistant.components.bin
      ary_sensor
      INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=api>
      INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=senso
      r>
      INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: service=load
      _platform.sensor, platform=mysensors, discovered=>
      INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=binar
      y_sensor>
      INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: service=load
      _platform.binary_sensor, platform=mysensors, discovered=>
      INFO:homeassistant.loader:Loaded light from homeassistant.components.light
      INFO:homeassistant.loader:Loaded sensor.mysensors from homeassistant.components.
      sensor.mysensors
      INFO:homeassistant.loader:Loaded binary_sensor.mysensors from homeassistant.comp
      onents.binary_sensor.mysensors
      INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=front
      end>
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=light,
       service=turn_on>
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=light,
       service=turn_off>
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=light,
       service=toggle>
      INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=light
      >
      INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: service=load
      _platform.light, platform=mysensors, discovered=>
      INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=histo
      ry>
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=input_
      slider, service=select_value>
      INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=None, en
      tity_id=input_slider.volume, new_state=<state input_slider.volume=50; max=100, s
      tep=1, min=0, friendly_name=Volume, icon=mdi:volume-high @ 2016-08-17T21:07:13.0
      53199+02:00>>
      INFO:homeassistant.loader:Loaded light.mysensors from homeassistant.components.l
      ight.mysensors
      INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=input
      _slider>
      ERROR:homeassistant.bootstrap:Invalid config for [switch]: required key not prov
      ided @ data['platform']. Got None
      INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=group
      >
      INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=None, en
      tity_id=script.battery, new_state=<state script.battery=off; friendly_name=batte
      ry, icon=mdi:refresh @ 2016-08-17T21:07:13.178206+02:00>>
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=script
      , service=battery>
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=script
      , service=turn_on>
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=script
      , service=turn_off>
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=script
      , service=toggle>
      INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=scrip
      t>
      ERROR:homeassistant.bootstrap:Invalid config for [automation]: required key not
      provided @ data['action']. Got None
      required key not provided @ data['trigger']. Got None
      INFO:homeassistant.core:Starting Home Assistant (17 threads)
      INFO:homeassistant.core:Bus:Handling <Event homeassistant_start[L]>
      INFO:homeassistant.core:Timer:starting
      INFO:mysensors.mysensors:Trying to connect to COM4
      INFO:mysensors.mysensors:COM4 is open...
      INFO:mysensors.mysensors:Connected to COM4
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:gateway started, id=0, parent=0, dist
      ance=0
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeas
      sistant, service=stop>
      INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeas
      sistant, service=restart>
      INFO:homeassistant.components.http:Serving /api/stream to 192.168.1.1 (auth: Tru
      e)
      INFO:homeassistant.components.http:Serving /api/camera_proxy/camera.london_road
      to 192.168.1.1 (auth: True)
      INFO:homeassistant.components.http:Serving /api/bootstrap to 192.168.1.1 (auth:
      True)
      INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):
      62.255.244.49
      INFO:homeassistant.components.http:Serving /api/camera_proxy/camera.london_road
      to 192.168.1.1 (auth: True)
      INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):
      62.255.244.49
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 16-16-0 s=1,c=1,t=0,pt=7,l=5,sg
      =0:28.4
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 1-16-0 s=1,c=1,t=0,pt=7,l=5,sg=
      0:29.8
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 1-16-0 s=0,c=1,t=1,pt=7,l=5,sg=
      0:37.6
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 55-55-0 s=255,c=3,t=15,pt=2,l=2
      ,sg=0:0
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 55-55-0 s=255,c=0,t=17,pt=0,l=5
      ,sg=0:1.5.4
      INFO:homeassistant.components.mysensors:No sketch_name: node 55
      INFO:homeassistant.components.mysensors:No sketch_name: node 55
      INFO:homeassistant.components.mysensors:No sketch_name: node 55
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 55-55-0 s=255,c=3,t=6,pt=1,l=1,
      sg=0:0
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:send: 0-0-55-55 s=255,c=3,t=6,pt=0,l=
      1,sg=0,st=ok:M
      INFO:homeassistant.components.http:Serving /api/camera_proxy/camera.london_road
      to 192.168.1.1 (auth: True)
      INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):
      62.255.244.49
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 55-55-0 s=255,c=3,t=11,pt=0,l=5
      ,sg=0:Relay
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 55-55-0 s=255,c=3,t=12,pt=0,l=3
      ,sg=0:1.0
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 55-55-0 s=4,c=0,t=3,pt=0,l=0,sg
      =0:
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 55-55-0 s=4,c=1,t=2,pt=0,l=3,sg
      =0:0.0
      INFO:homeassistant.components.http:Serving /api/camera_proxy/camera.london_road
      to 192.168.1.1 (auth: True)
      INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):
      62.255.244.49
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 16-16-0 s=255,c=0,t=18,pt=0,l=5
      ,sg=0:1.5.1
      INFO:homeassistant.components.mysensors:No sketch_name: node 16
      INFO:homeassistant.components.mysensors:No sketch_name: node 16
      INFO:homeassistant.components.mysensors:No sketch_name: node 16
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 16-16-0 s=255,c=3,t=6,pt=1,l=1,
      sg=0:0
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:send: 0-0-16-16 s=255,c=3,t=6,pt=0,l=
      1,sg=0,st=ok:M
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 7-2-0 s=3,c=1,t=18,pt=7,l=5,sg=
      0:73094056.0
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 3-16-0 s=0,c=1,t=1,pt=7,l=5,sg=
      0:51.8
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 7-2-0 s=4,c=1,t=18,pt=7,l=5,sg=
      0:49055452.0
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 7-2-0 s=5,c=1,t=39,pt=7,l=5,sg=
      0:0.0
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 7-2-0 s=6,c=1,t=39,pt=7,l=5,sg=
      0:0.0
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 2-2-0 s=0,c=1,t=1,pt=7,l=5,sg=0
      :86.9
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 7-2-0 s=7,c=1,t=39,pt=7,l=5,sg=
      0:5.0
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 7-2-0 s=2,c=1,t=2,pt=7,l=5,sg=0
      :0.0
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 16-16-0 s=255,c=3,t=11,pt=0,l=1
      1,sg=0:Sonde Salon
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 16-16-0 s=255,c=3,t=12,pt=0,l=3
      ,sg=0:1.0
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 16-16-0 s=0,c=0,t=7,pt=0,l=8,sg
      =0:Humidite
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 16-16-0 s=1,c=0,t=6,pt=0,l=11,s
      g=0:Temperature
      INFO:homeassistant.components.http:Serving /api/camera_proxy/camera.london_road
      to 192.168.1.1 (auth: True)
      INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):
      62.255.244.49
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 16-16-0 s=1,c=1,t=0,pt=7,l=5,sg
      =0:28.6
      INFO:homeassistant.components.mysensors:Adding new devices: <Entity Sonde Salon
      16 1: None>
      INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=None, en
      tity_id=sensor.sonde_salon_16_1, new_state=<state sensor.sonde_salon_16_1=unavai
      lable; friendly_name=Sonde Salon 16 1 @ 2016-08-17T21:07:48.412571+02:00>>
      INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=<state s
      ensor.sonde_salon_16_1=unavailable; friendly_name=Sonde Salon 16 1 @ 2016-08-17T
      21:07:48.412571+02:00>, entity_id=sensor.sonde_salon_16_1, new_state=<state sens
      or.sonde_salon_16_1=28.6; node_id=16, unit_of_measurement=°C, child_id=1, batter
      y_level=0, device=COM4, V_TEMP=28.6, friendly_name=Sonde Salon 16 1 @ 2016-08-17
      T21:07:48.412571+02:00>>
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 16-16-0 s=0,c=1,t=1,pt=7,l=5,sg
      =0:1.0
      INFO:homeassistant.components.mysensors:Adding new devices: <Entity Sonde Salon
      16 0: None>
      INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=None, en
      tity_id=sensor.sonde_salon_16_0, new_state=<state sensor.sonde_salon_16_0=unavai
      lable; friendly_name=Sonde Salon 16 0 @ 2016-08-17T21:07:50.412569+02:00>>
      INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=<state s
      ensor.sonde_salon_16_0=unavailable; friendly_name=Sonde Salon 16 0 @ 2016-08-17T
      21:07:50.412569+02:00>, entity_id=sensor.sonde_salon_16_0, new_state=<state sens
      or.sonde_salon_16_0=1.0; node_id=16, friendly_name=Sonde Salon 16 0, child_id=0,
       battery_level=0, V_HUM=1.0, device=COM4, unit_of_measurement=% @ 2016-08-17T21:
      07:50.443821+02:00>>
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 16-16-0 s=255,c=3,t=1,pt=0,l=0,
      sg=0:
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:send: 0-0-16-16 s=255,c=3,t=1,pt=0,l=
      10,sg=0,st=ok:14714608
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 5-16-0 s=1,c=1,t=0,pt=7,l=5,sg=
      0:29.6
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 5-16-0 s=0,c=1,t=1,pt=7,l=5,sg=
      0:27.1
      

      really, I don't know what's happen.

      posted in Home Assistant
      Gefkuz
      Gefkuz
    • RE: another relay problem....

      i check it now

      posted in Home Assistant
      Gefkuz
      Gefkuz
    • RE: another relay problem....

      I don't have some log file... can you tell me where it is in the folders?

      posted in Home Assistant
      Gefkuz
      Gefkuz
    • RE: another relay problem....

      No more result with persistent file to none (#) and persistent to false.
      Deleting mysensor1.picle file.
      Restarting homeassistant.
      modify the switch to nodeid 56.
      launch the switch.
      And same things.....
      For information, my temperatures sensors (mysensors) working perfectly.

      posted in Home Assistant
      Gefkuz
      Gefkuz
    • RE: another relay problem....

      here is a link to the sketch i'm using :
      https://home-assistant.io/components/switch.mysensors/#example-sketch
      I'm using the first one. Simple switch sketch.

      posted in Home Assistant
      Gefkuz
      Gefkuz
    • RE: another relay problem....

      Is it necessary to migrate to mysensors 2.0?

      posted in Home Assistant
      Gefkuz
      Gefkuz
    • RE: another relay problem....

      The message "already exist" is not displayed at the first power up.
      And in my log, We can see the first value sended :

      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 18-18-0 s=1,c=1,t=2,pt=2,l=2,sg
      =0:0
      

      Are we ok with this value sended???

      posted in Home Assistant
      Gefkuz
      Gefkuz
    • another relay problem....

      Hi,

      Sorry to post another relay problem.
      I read lot of problems solved but not of thos issues resolved mine.

      I copy paste the sketch on HA website for relay sketch on my working arduino.

      I switch on the arduino and thiks is what I see on py log:

      INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):
      62.255.244.49
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 3-16-0 s=1,c=1,t=0,pt=7,l=5,sg=
      0:23.7
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 18-18-0 s=255,c=3,t=15,pt=2,l=2
      ,sg=0:0
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 18-18-0 s=255,c=0,t=17,pt=0,l=5
      ,sg=0:1.5.4
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 18-18-0 s=255,c=3,t=6,pt=1,l=1,
      sg=0:0
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:send: 0-0-18-18 s=255,c=3,t=6,pt=0,l=
      1,sg=0,st=ok:M
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 18-18-0 s=255,c=3,t=11,pt=0,l=5
      ,sg=0:Relay
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 18-18-0 s=255,c=3,t=12,pt=0,l=3
      ,sg=0:1.0
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 18-18-0 s=1,c=0,t=3,pt=0,l=0,sg
      =0:
      WARNING:mysensors.mysensors:child_id 1 already exists in children, cannot add ch
      ild
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 18-18-0 s=1,c=1,t=2,pt=2,l=2,sg
      =0:0
      INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 5-16-0 s=6,c=1,t=23,pt=7,l=5,sg
      =0:6.0
      INFO:homeassistant.components.http:Serving /api/camera_proxy/camera.london_road
      to 192.168.1.1 (auth: True)
      INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):
      62.255.244.49
      INFO:homeassistant.components.http:Serving /api/camera_proxy/camera.london_road
      to 192.168.1.1 (auth: True)
      INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1):
      62.255.244.49
      INFO:homeassistant.components.http:Serving /api/camera_proxy/camera.london_road
      to 192.168.1.1 (auth: True)
      

      The relay is registered I think, but no line with "add sensor" and no existence in HA......

      Another thing.. in configuration.yaml, I want t make a persistent file for mysensor, but don't how to. What path can I write to have the persistent file in .homeasssistant folder

      mysensors:
       gateways:
       - device: 'COM5'
       persistence_file: 'mysensors.json'
       baud_rate: 115200
       debug: true
       persistence: true
       version: '1.5'
       optimistic: 'true'
      

      I'm on windows 10
      and last version of HA.
      and mysensor 1.5.2

      Please help 😞
      Thanks in advance.

      posted in Home Assistant
      Gefkuz
      Gefkuz
    • RE: Windows and configuration.yaml

      @martinhjelmare Hi, with python 32bit, it's perfect. Thank you.

      posted in Home Assistant
      Gefkuz
      Gefkuz
    • RE: Windows and configuration.yaml

      Hi,

      sorry to reply to this old topic, but I have the same problem.

      my config yaml :

      mysensors:
      gateways:

      • device: 'COM5'
        baud_rate: 115200
        debug: true
        version: '1.5'
        optimistic: 'true'

      debug lines on python repeating this :

      INFO:mysensors.mysensors:Trying to connect to COM5
      INFO:mysensors.mysensors:COM5 is open...
      INFO:mysensors.mysensors:Connected to COM5
      ERROR:mysensors.mysensors:Serial exception
      Traceback (most recent call last):
      File "C:\Users\Fabien\AppData\Roaming.homeassistant\deps\mysensors\mysensors.
      py", line 380, in run
      line = self.serial.readline()
      File "C:\Users\Fabien\AppData\Roaming.homeassistant\deps\serial\serialwin32.p
      y", line 236, in read
      raise SerialException("ReadFile failed (%s)" % ctypes.WinError())
      serial.serialutil.SerialException: ReadFile failed ([WinError 6] Descripteur non
      valide)
      Traceback (most recent call last):
      File "C:\Users\Fabien\AppData\Local\Programs\Python\Python35\lib\runpy.py", li
      ne 184, in run_module_as_main
      "main", mod_spec)
      File "C:\Users\Fabien\AppData\Local\Programs\Python\Python35\lib\runpy.py", li
      ne 85, in run_code
      exec(code, run_globals)
      File "C:\Users\Fabien\AppData\Local\Programs\Python\Python35\lib\site-packages
      \homeassistant_main
      .py", line 335, in <module>
      sys.exit(main())
      File "C:\Users\Fabien\AppData\Local\Programs\Python\Python35\lib\site-packages
      \homeassistant_main
      .py", line 327, in main
      exit_code = setup_and_run_hass(config_dir, args)
      File "C:\Users\Fabien\AppData\Local\Programs\Python\Python35\lib\site-packages
      \homeassistant_main_.py", line 225, in setup_and_run_hass
      subprocess.check_call(args)
      File "C:\Users\Fabien\AppData\Local\Programs\Python\Python35\lib\subprocess.py
      ", line 576, in check_call
      retcode = call(*popenargs, **kwargs)
      File "C:\Users\Fabien\AppData\Local\Programs\Python\Python35\lib\subprocess.py
      ", line 559, in call
      return p.wait(timeout=timeout)
      File "C:\Users\Fabien\AppData\Local\Programs\Python\Python35\lib\subprocess.py
      ", line 1275, in wait
      timeout_millis)

      Some one have an idea?

      posted in Home Assistant
      Gefkuz
      Gefkuz
    • nrf really hot

      Hi,

      Some times, with sensors, I have some stranges behaviours.
      The sensor freeze and give me no response. the NRF24 is really hot.
      And the UART give that
      "ë«’ÖK�Í•¹Í½ÉéÉ•…‘é�ÂjŠŠjŠ‚šõÁbõÅb¢õÉ¢‚ÑõÁ²bõÅâš�õÁòŠR^©kë«+Ëë b+Ëë«’ÖK�Í•¹Í½ÉéÉ•…‘é�‚jŠŠjŠ‚šõÁbõÅb¢õÉb‚ÑõÁbbõÅbš�õÁÒŠR^)kë«+Ëë Ò+Ëë«’ÖK�Í•¹Í½ÉéÉ•…‘é�‚jŠŠjŠ‚šõÁbõÅb¢õÉâ‚ÑõÁ¢bõ"
      infinitely.
      What happen?

      posted in Bug Reports
      Gefkuz
      Gefkuz
    • RE: Strange problem with relay board

      On my system, I replace the main alimentation by a litle biggest one. Since that, all worked well.
      Sorry for my English.

      posted in Hardware
      Gefkuz
      Gefkuz
    • RE: Strange problem with relay board

      Hi,

      I saw the same problem in the past.
      what is "The radio is powered via 662K voltage regulator."
      What do you mean by 662K?

      posted in Hardware
      Gefkuz
      Gefkuz
    • RE: How to bootload OTA on arduino pro mini?

      Hey, Bootloader in pro-mini.
      I have to flash with a new sketch, connect nrf and test OTA.
      Thank you

      posted in Development
      Gefkuz
      Gefkuz
    • RE: How to bootload OTA on arduino pro mini?

      This is the part of information I have.
      The missing part is how can I add the new OTA bootloader on arduino ide!!!

      posted in Development
      Gefkuz
      Gefkuz
    • How to bootload OTA on arduino pro mini?

      Hi,

      I'm searching, since a couple hours, a simple method to bootload a pro mini 5v 16Mhz with an OTA bootloader.
      I found some part of information, but no simple things like "copy this file at this location and then click here".......
      There is a tutorial somewhere?

      posted in Development
      Gefkuz
      Gefkuz
    • RE: RGBW Example

      Hi,
      +1
      Especially because numbers of PWM outputs on arduino is limited with NRF24 connections.

      posted in Homeseer
      Gefkuz
      Gefkuz
    • RE: Newest MySensor community member

      Felicitation

      posted in General Discussion
      Gefkuz
      Gefkuz
    • RE: Request node infos by arduino ide

      Yes, this informations is sended at sensor start up.
      But I want this information later in sensor life.
      I want to ask for this information with a command via serialgateway.
      Is that Possible?

      posted in Troubleshooting
      Gefkuz
      Gefkuz
    • RE: Request node infos by arduino ide

      Yes, you are wright. The sensor is working well.
      But Iwant to know is sketch_name, sketch_version.
      What Have I to do for it?

      posted in Troubleshooting
      Gefkuz
      Gefkuz
    • Request node infos by arduino ide

      Hi all,

      I'm new in the mysensors world, and love it.
      I'm trying to make a driver in csharp with serialGateway for my application.
      I received all my two humidity sensors without any problems.
      But when I want to ask something to my sensors, they send me nothing... I don't understand what going on.

      here is the code in my sensors :

      #include <SPI.h>
      #include <MySensor.h>  
      #include <DHT.h>  
      
      #define CHILD_ID_HUM 0
      #define CHILD_ID_TEMP 1
      #define HUMIDITY_SENSOR_DIGITAL_PIN 3
      unsigned long Time_Measure = 60000; // Sleep time between reads (in seconds)
      
      MySensor gw;
      DHT dht;
      float lastTemp;
      float lastHum;
      boolean metric = true; 
      MyMessage msgHum(CHILD_ID_HUM, V_HUM);
      MyMessage msgTemp(CHILD_ID_TEMP, V_TEMP);
      unsigned long timeOfLastChange = 0;
      
      void setup()  
      { 
          gw.begin(NULL, AUTO, true);
        dht.setup(HUMIDITY_SENSOR_DIGITAL_PIN); 
      
        // Send the Sketch Version Information to the Gateway
        gw.sendSketchInfo("Atelier", "1.0");
      
        // Register all sensors to gw (they will be created as child devices)
        gw.present(CHILD_ID_HUM, S_HUM);
        gw.present(CHILD_ID_TEMP, S_TEMP);
        
        metric = gw.getConfig().isMetric;
        timeOfLastChange = millis();
      }
      
      void loop()      
      {  
        float humidity;
        float temperature;
      
        if ((millis() - timeOfLastChange) > Time_Measure)
        {
          delay(dht.getMinimumSamplingPeriod());
          temperature = dht.getTemperature();
          if (isnan(temperature)) {
              Serial.println("Failed reading temperature from DHT");
          } else if (temperature != lastTemp) {
            lastTemp = temperature;
            if (!metric) {
              temperature = dht.toFahrenheit(temperature);
            }
            gw.send(msgTemp.set(temperature, 1));
            Serial.print("T: ");
            Serial.println(temperature);
          }
          
          delay(dht.getMinimumSamplingPeriod());
          humidity = dht.getHumidity();
          if (isnan(humidity)) {
              Serial.println("Failed reading humidity from DHT");
          } else if (humidity != lastHum) {
              lastHum = humidity;
              gw.send(msgHum.set(humidity, 1));
              Serial.print("H: ");
              Serial.println(humidity);
          }
        }
        gw.process();
      }
      
      
      

      And this is an example of terminal view

      0;0;3;0;14;Gateway startup complete.
      0;0;3;0;9;read: 2-2-0 s=255,c=0,t=18,pt=0,l=5:1.4.1
      2;255;0;0;18;1.4.1
      0;0;3;0;9;read: 2-2-0 s=255,c=3,t=6,pt=1,l=1:0
      2;255;3;0;6;0
      0;0;3;0;9;read: 2-2-0 s=255,c=3,t=11,pt=0,l=7:Atelier
      2;255;3;0;11;Atelier
      0;0;3;0;9;read: 2-2-0 s=255,c=3,t=12,pt=0,l=3:1.0
      2;255;3;0;12;1.0
      0;0;3;0;9;read: 2-2-0 s=0,c=0,t=7,pt=0,l=0:
      2;0;0;0;7;
      0;0;3;0;9;read: 2-2-0 s=1,c=0,t=6,pt=0,l=0:
      2;1;0;0;6;
      0;0;3;0;9;send: 0-0-2-2 s=255,c=3,t=6,pt=0,l=1,st=ok:0
      0;0;3;0;9;read: 1-1-0 s=0,c=1,t=1,pt=7,l=5:49.6
      1;0;1;0;1;49.6
      0;0;3;0;9;send: 0-0-2-2 s=255,c=3,t=6,pt=0,l=1,st=ok:M
      0;0;3;0;9;read: 2-2-0 s=1,c=1,t=0,pt=7,l=5:24.8
      2;1;1;0;0;24.8
      0;0;3;0;9;read: 2-2-0 s=0,c=1,t=1,pt=7,l=5:46.6
      2;0;1;0;1;46.6
      0;0;3;0;9;read: 2-2-0 s=1,c=1,t=0,pt=7,l=5:24.9
      2;1;1;0;0;24.9
      0;0;3;0;9;read: 2-2-0 s=0,c=1,t=1,pt=7,l=5:46.7
      2;0;1;0;1;46.7
      0;0;3;0;9;read: 2-2-0 s=0,c=1,t=1,pt=7,l=5:46.6
      2;0;1;0;1;46.6
      0;0;3;0;9;read: 2-2-0 s=0,c=1,t=1,pt=7,l=5:46.5
      2;0;1;0;1;46.5
      0;0;3;0;9;read: 2-2-0 s=0,c=1,t=1,pt=7,l=5:46.6
      2;0;1;0;1;46.6
      0;0;3;0;9;read: 2-2-0 s=1,c=1,t=0,pt=7,l=5:25.0
      2;1;1;0;0;25.0
      0;0;3;0;9;read: 2-2-0 s=0,c=1,t=1,pt=7,l=5:46.5
      2;0;1;0;1;46.5
      
      

      What I make wrong???
      I add the gw.process on sensor code and nothing add...
      Bouhhh....😓 😥

      Please help me....

      posted in Troubleshooting
      Gefkuz
      Gefkuz