@martinhjelmare
Then this is a problem?
void presentation()
{
sendSketchInfo("Soil Moisture Sensor Reverse Polarity", "1.0");
present(CHILD_ID, S_HUM);
}
kostaa
@kostaa
Best posts made by kostaa
-
RE: MQTT raspberry pi gateway with HA, can't seem to find sensors.
-
RE: MQTT raspberry pi gateway with HA, can't seem to find sensors.
@martinhjelmare Yep, it is still from the sample Thank you so much again.
Latest posts made by kostaa
-
RE: IR Sensor/Blaster with HA
@martinhjelmare said:
you read the docs about presenting a mysensors sensor in home assista
If my gateway is v2.0.X will the samples created for 1.5 work?
-
RE: IR Sensor/Blaster with HA
To my understanding the record function is not available and the IR sensor is not a sensor, it's a service in a switch domain called
mysensors_send_ir_code. -
IR Sensor/Blaster with HA
Looking into MyMessage.h I see that
S_IR = 20, //!< IR device, V_IR_SEND, V_IR_RECEIVE
also I downloaded a sample sketch from here https://www.mysensors.org/build/ir
and saw that they changed V_IR_SEND to V_IR_RECEIVE.
I tried with both and still HA doesn't recognize the IR sensor.
Here is the debug log.
16-12-30 02:44:21 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=logger>
16-12-30 02:44:22 homeassistant.bootstrap: Setting up discovery
16-12-30 02:44:22 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=discovery>
16-12-30 02:44:22 homeassistant.bootstrap: Setting up http
16-12-30 02:44:22 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=http>
16-12-30 02:44:22 homeassistant.bootstrap: Setting up mqtt
16-12-30 02:44:22 homeassistant.core: Bus:Handling <Event service_registered[L]: service=publish, domain=mqtt>
16-12-30 02:44:22 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=mqtt>
16-12-30 02:44:22 homeassistant.bootstrap: Setting up api
16-12-30 02:44:22 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=api>
16-12-30 02:44:22 homeassistant.bootstrap: Setting up websocket_api
16-12-30 02:44:22 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=websocket_api>
16-12-30 02:44:22 homeassistant.bootstrap: Setting up frontend
16-12-30 02:44:22 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=frontend>
16-12-30 02:44:22 homeassistant.bootstrap: Setting up logbook
16-12-30 02:44:22 homeassistant.core: Bus:Handling <Event service_registered[L]: service=log, domain=logbook>
16-12-30 02:44:22 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=logbook>
16-12-30 02:44:22 homeassistant.loader: Loaded sensor.yr from homeassistant.components.sensor.yr
16-12-30 02:44:22 homeassistant.bootstrap: Setting up sensor
16-12-30 02:44:22 homeassistant.components.sensor: Setting up sensor.yr
16-12-30 02:44:22 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=sensor.yr_symbol, old_state=None, new_state=<state sensor.yr_symbol=unknown; friendly_name=yr Symbol, attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png @ 2016-12-29T21:44:22.475972-05:00>>
16-12-30 02:44:23 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=sensor.yr_symbol, old_state=<state sensor.yr_symbol=unknown; friendly_name=yr Symbol, attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png @ 2016-12-29T21:44:22.475972-05:00>, new_state=<state sensor.yr_symbol=1; friendly_name=yr Symbol, attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=1;content_type=image/png @ 2016-12-29T21:44:23.485807-05:00>>
16-12-30 02:44:23 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=sensor>
16-12-30 02:44:23 homeassistant.bootstrap: Setting up updater
16-12-30 02:44:23 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=updater>
16-12-30 02:44:23 homeassistant.bootstrap: Setting up conversation
16-12-30 02:44:23 homeassistant.core: Bus:Handling <Event service_registered[L]: service=process, domain=conversation>
16-12-30 02:44:23 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=conversation>
16-12-30 02:44:23 homeassistant.loader: Loaded tts.google from homeassistant.components.tts.google
16-12-30 02:44:23 homeassistant.bootstrap: Setting up tts
16-12-30 02:44:23 homeassistant.core: Bus:Handling <Event service_registered[L]: service=google_say, domain=tts>
16-12-30 02:44:23 homeassistant.core: Bus:Handling <Event service_registered[L]: service=clear_cache, domain=tts>
16-12-30 02:44:23 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=tts>
16-12-30 02:44:23 homeassistant.bootstrap: Setting up sun
16-12-30 02:44:23 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=sun.sun, old_state=None, new_state=<state sun.sun=below_horizon; elevation=0, next_setting=2016-12-30T22:36:51+00:00, azimuth=0, friendly_name=Sun, next_rising=2016-12-30T12:42:08+00:00 @ 2016-12-29T21:44:23.839549-05:00>>
16-12-30 02:44:23 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=sun>
16-12-30 02:44:23 homeassistant.bootstrap: Setting up history
16-12-30 02:44:23 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=history>
16-12-30 02:44:23 homeassistant.bootstrap: Setting up mysensors
16-12-30 02:44:23 mysensors.mysensors: Subscribing to: mysensors-out/5/2/1/+/+
16-12-30 02:44:23 mysensors.mysensors: Subscribing to: mysensors-out/5/2/2/+/+
16-12-30 02:44:23 mysensors.mysensors: Subscribing to: mysensors-out/5/+/4/+/+
16-12-30 02:44:23 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=mysensors>
16-12-30 02:44:23 homeassistant.core: Bus:Handling <Event platform_discovered[L]: discovered=, platform=mysensors, service=load_platform.sensor>
16-12-30 02:44:23 homeassistant.loader: Loaded switch from homeassistant.components.switch
16-12-30 02:44:23 homeassistant.loader: Loaded sensor.mysensors from homeassistant.components.sensor.mysensors
16-12-30 02:44:23 homeassistant.bootstrap: Setting up switch
16-12-30 02:44:23 homeassistant.components.sensor: Setting up sensor.mysensors
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=turn_off, domain=switch>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=turn_on, domain=switch>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=toggle, domain=switch>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=switch>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event platform_discovered[L]: discovered=, platform=mysensors, service=load_platform.switch>
16-12-30 02:44:24 homeassistant.loader: Loaded light from homeassistant.components.light
16-12-30 02:44:24 homeassistant.loader: Loaded switch.mysensors from homeassistant.components.switch.mysensors
16-12-30 02:44:24 homeassistant.bootstrap: Setting up light
16-12-30 02:44:24 homeassistant.components.switch: Setting up switch.mysensors
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=mysensors_send_ir_code, domain=switch>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=turn_on, domain=light>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=turn_off, domain=light>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=toggle, domain=light>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=light>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event platform_discovered[L]: discovered=, platform=mysensors, service=load_platform.light>
16-12-30 02:44:24 homeassistant.loader: Loaded binary_sensor from homeassistant.components.binary_sensor
16-12-30 02:44:24 homeassistant.loader: Loaded light.mysensors from homeassistant.components.light.mysensors
16-12-30 02:44:24 homeassistant.bootstrap: Setting up binary_sensor
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=binary_sensor>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event platform_discovered[L]: discovered=, platform=mysensors, service=load_platform.binary_sensor>
16-12-30 02:44:24 homeassistant.loader: Loaded climate from homeassistant.components.climate
16-12-30 02:44:24 homeassistant.components.light: Setting up light.mysensors
16-12-30 02:44:24 homeassistant.loader: Loaded binary_sensor.mysensors from homeassistant.components.binary_sensor.mysensors
16-12-30 02:44:24 homeassistant.bootstrap: Setting up climate
16-12-30 02:44:24 homeassistant.components.binary_sensor: Setting up binary_sensor.mysensors
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=set_away_mode, domain=climate>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=set_aux_heat, domain=climate>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=set_temperature, domain=climate>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=set_humidity, domain=climate>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=set_fan_mode, domain=climate>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=set_operation_mode, domain=climate>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=set_swing_mode, domain=climate>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=climate>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event platform_discovered[L]: discovered=, platform=mysensors, service=load_platform.climate>
16-12-30 02:44:24 homeassistant.loader: Loaded cover from homeassistant.components.cover
16-12-30 02:44:24 homeassistant.loader: Loaded climate.mysensors from homeassistant.components.climate.mysensors
16-12-30 02:44:24 homeassistant.bootstrap: Setting up cover
16-12-30 02:44:24 homeassistant.components.climate: Setting up climate.mysensors
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=set_cover_position, domain=cover>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=open_cover_tilt, domain=cover>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=set_cover_tilt_position, domain=cover>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=open_cover, domain=cover>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=stop_cover_tilt, domain=cover>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=stop_cover, domain=cover>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=close_cover_tilt, domain=cover>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=close_cover, domain=cover>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=cover>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event platform_discovered[L]: discovered=, platform=mysensors, service=load_platform.cover>
16-12-30 02:44:24 homeassistant.loader: Loaded cover.mysensors from homeassistant.components.cover.mysensors
16-12-30 02:44:24 homeassistant.components.cover: Setting up cover.mysensors
16-12-30 02:44:24 homeassistant.core: Starting Home Assistant core loop
16-12-30 02:44:24 homeassistant.core: Starting Home Assistant
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=stop, domain=homeassistant>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event service_registered[L]: service=restart, domain=homeassistant>
16-12-30 02:44:24 homeassistant.core: Bus:Handling <Event homeassistant_start[L]>
16-12-30 02:44:24 mysensors.mysensors: Setting up initial MQTT topic subscription
16-12-30 02:44:24 homeassistant.core: Timer:starting
16-12-30 02:44:24 mysensors.mysensors: Subscribing to: mysensors-out/+/+/0/+/+
16-12-30 02:44:24 homeassistant.components.mysensors: Update persistence: node 5
16-12-30 02:44:24 mysensors.mysensors: Subscribing to: mysensors-out/+/+/3/+/+
16-12-30 02:44:24 netdisco.service: Scanning
16-12-30 02:44:25 homeassistant.components.http: Serving /api/websocket to 192.168.1.1 (auth: False)
16-12-30 02:44:25 homeassistant.components.http: Serving /api/bootstrap to 192.168.1.1 (auth: True)
16-12-30 02:44:30 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=sun.sun, old_state=<state sun.sun=below_horizon; elevation=0, next_setting=2016-12-30T22:36:51+00:00, azimuth=0, friendly_name=Sun, next_rising=2016-12-30T12:42:08+00:00 @ 2016-12-29T21:44:23.839549-05:00>, new_state=<state sun.sun=below_horizon; elevation=-50.46, next_setting=2016-12-30T22:36:51+00:00, azimuth=274.35, friendly_name=Sun, next_rising=2016-12-30T12:42:08+00:00 @ 2016-12-29T21:44:23.839549-05:00>>
16-12-30 02:44:45 homeassistant.core: Bus:Handling <Event mqtt_message_received[L]: qos=0, payload=0, topic=mysensors-out/5/255/3/0/6>
16-12-30 02:44:45 mysensors.mysensors: Receiving 5;255;3;0;6;0
16-12-30 02:44:45 mysensors.mysensors: Publishing 5;255;3;0;6;I16-12-30 02:44:45 homeassistant.core: Bus:Handling <Event call_service[L]: service_call_id=1977841328-1, service_data=qos=0, payload=I, retain=True, topic=mysensors-in/5/255/3/0/6, service=publish, domain=mqtt>
16-12-30 02:44:45 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=1977841328-1>
16-12-30 02:44:47 homeassistant.core: Bus:Handling <Event mqtt_message_received[L]: qos=0, payload=IR Rec/Playback, topic=mysensors-out/5/255/3/0/11>
16-12-30 02:44:47 mysensors.mysensors: Receiving 5;255;3;0;11;IR Rec/Playback
16-12-30 02:44:47 homeassistant.components.mysensors: Update sensor_update: node 5
16-12-30 02:44:47 homeassistant.core: Bus:Handling <Event mqtt_message_received[L]: qos=0, payload=2.0, topic=mysensors-out/5/255/3/0/12>
16-12-30 02:44:47 homeassistant.core: Bus:Handling <Event mqtt_message_received[L]: qos=0, payload=, topic=mysensors-out/5/4/0/0/20>
16-12-30 02:44:47 mysensors.mysensors: Receiving 5;255;3;0;12;2.0
16-12-30 02:44:47 mysensors.mysensors: Receiving 5;4;0;0;20;
16-12-30 02:44:47 homeassistant.components.mysensors: Update sensor_update: node 5
16-12-30 02:44:47 homeassistant.components.mysensors: Update sensor_update: node 5
16-12-30 02:44:47 mysensors.mysensors: Subscribing to: mysensors-out/5/4/1/+/+
16-12-30 02:44:47 mysensors.mysensors: Subscribing to: mysensors-out/5/4/2/+/+
16-12-30 02:44:47 mysensors.mysensors: Subscribing to: mysensors-out/5/+/4/+/+
16-12-30 02:44:54 homeassistant.components.http: Serving /api/bootstrap to 192.168.1.1 (auth: True)
16-12-30 02:44:54 homeassistant.components.http: Serving /api/websocket to 192.168.1.1 (auth: False)
16-12-30 02:44:56 homeassistant.components.http: Serving /api/bootstrap to 192.168.1.1 (auth: True)
16-12-30 02:44:57 homeassistant.components.http: Serving /api/websocket to 192.168.1.1 (auth: False)
16-12-30 02:45:01 homeassistant.components.http: Serving /api/error_log to 192.168.1.1 (auth: True) -
RE: MQTT raspberry pi gateway with HA, can't seem to find sensors.
@martinhjelmare Just discovered mysensors, it is pure awesomeness.
-
RE: MQTT raspberry pi gateway with HA, can't seem to find sensors.
@martinhjelmare Yep, it is still from the sample Thank you so much again.
-
RE: MQTT raspberry pi gateway with HA, can't seem to find sensors.
@martinhjelmare
Then this is a problem?
void presentation()
{
sendSketchInfo("Soil Moisture Sensor Reverse Polarity", "1.0");
present(CHILD_ID, S_HUM);
} -
RE: MQTT raspberry pi gateway with HA, can't seem to find sensors.
@martinhjelmare
Thank you!
Ok so in the beginning of the default sketch in here:
https://www.mysensors.org/build/moisture
The line :
MyMessage msg(CHILD_ID, V_LEVEL);
Is the problem
It should be:
MyMessage msg(CHILD_ID, V_HUM);
You were absolutely right.
Thank you for being so quick and amazing, and if you can please ask someone to fix the example. -
RE: MQTT raspberry pi gateway with HA, can't seem to find sensors.
Thank you so much, and I am sorry I am a complete noob at this, where is the level type and subtype set? I searched on this page
and found very little.
https://home-assistant.io/components/mysensors/ -
RE: MQTT raspberry pi gateway with HA, can't seem to find sensors.
pi@pi3:~/.homeassistant $ hass
Config directory: /home/pi/.homeassistant
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=turn_off>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=turn_on>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=toggle>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=reload_core_config>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=persistent_notification, service=create>
INFO:homeassistant.bootstrap:Home Assistant core initialized
INFO:homeassistant.loader:Loaded tts from homeassistant.components.tts
INFO:homeassistant.loader:Loaded http from homeassistant.components.http
INFO:homeassistant.loader:Loaded logger from homeassistant.components.logger
INFO:homeassistant.loader:Loaded discovery from homeassistant.components.discovery
INFO:homeassistant.loader:Loaded logbook from homeassistant.components.logbook
INFO:homeassistant.loader:Loaded recorder from homeassistant.components.recorder
INFO:homeassistant.loader:Loaded frontend from homeassistant.components.frontend
INFO:homeassistant.loader:Loaded api from homeassistant.components.api
INFO:homeassistant.loader:Loaded websocket_api from homeassistant.components.websocket_api
INFO:homeassistant.loader:Loaded conversation from homeassistant.components.conversation
INFO:homeassistant.loader:Loaded mysensors from homeassistant.components.mysensors
INFO:homeassistant.loader:Loaded updater from homeassistant.components.updater
INFO:homeassistant.loader:Loaded sensor from homeassistant.components.sensor
INFO:homeassistant.loader:Loaded mqtt from homeassistant.components.mqtt
INFO:homeassistant.loader:Loaded history from homeassistant.components.history
INFO:homeassistant.loader:Loaded sun from homeassistant.components.sun
INFO:homeassistant.bootstrap:Setting up recorder
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=recorder>
INFO:homeassistant.bootstrap:Setting up logger
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=logger>
INFO:homeassistant.bootstrap:Setting up http
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=http>
INFO:homeassistant.loader:Loaded tts.google from homeassistant.components.tts.google
INFO:homeassistant.bootstrap:Setting up tts
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=tts, service=google_say>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=tts, service=clear_cache>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=tts>
INFO:homeassistant.bootstrap:Setting up discovery
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=discovery>
INFO:homeassistant.bootstrap:Setting up api
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=api>
INFO:homeassistant.bootstrap:Setting up websocket_api
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=websocket_api>
INFO:homeassistant.bootstrap:Setting up frontend
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=frontend>
INFO:homeassistant.bootstrap:Setting up logbook
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=logbook, service=log>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=logbook>
INFO:homeassistant.bootstrap:Setting up conversation
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=conversation, service=process>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=conversation>
INFO:homeassistant.bootstrap:Setting up mysensors
INFO:homeassistant.bootstrap:Setting up mqtt
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=mqtt, service=publish>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=mqtt>
DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/4/1/+/+
DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/4/2/+/+
DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/+/4/+/+
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=mysensors>
INFO:homeassistant.bootstrap:Setting up updater
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=updater>
INFO:homeassistant.loader:Loaded sensor.yr from homeassistant.components.sensor.yr
INFO:homeassistant.bootstrap:Setting up sensor
INFO:homeassistant.components.sensor:Setting up sensor.yr
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state sensor.yr_symbol=unknown; attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png, friendly_name=yr Symbol @ 2016-12-28T00:18:50.127080-05:00>, old_state=None, entity_id=sensor.yr_symbol>
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state sensor.yr_symbol=1; attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=1;content_type=image/png, friendly_name=yr Symbol @ 2016-12-28T00:18:51.077805-05:00>, old_state=<state sensor.yr_symbol=unknown; attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png, friendly_name=yr Symbol @ 2016-12-28T00:18:50.127080-05:00>, entity_id=sensor.yr_symbol>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=sensor>
INFO:homeassistant.bootstrap:Setting up history
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=history>
INFO:homeassistant.bootstrap:Setting up sun
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state sun.sun=below_horizon; friendly_name=Sun, azimuth=0, next_setting=2016-12-28T22:35:27+00:00, elevation=0, next_rising=2016-12-28T12:41:37+00:00 @ 2016-12-28T00:18:51.192205-05:00>, old_state=None, entity_id=sun.sun>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=sun>
INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: platform=mysensors, service=load_platform.sensor, discovered=>
INFO:homeassistant.loader:Loaded switch from homeassistant.components.switch
INFO:homeassistant.loader:Loaded sensor.mysensors from homeassistant.components.sensor.mysensors
INFO:homeassistant.bootstrap:Setting up switch
INFO:homeassistant.components.sensor:Setting up sensor.mysensors
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=switch, service=turn_off>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=switch, service=turn_on>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=switch, service=toggle>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=switch>
INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: platform=mysensors, service=load_platform.switch, discovered=>
INFO:homeassistant.loader:Loaded light from homeassistant.components.light
INFO:homeassistant.loader:Loaded switch.mysensors from homeassistant.components.switch.mysensors
INFO:homeassistant.bootstrap:Setting up light
INFO:homeassistant.components.switch:Setting up switch.mysensors
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=switch, service=mysensors_send_ir_code>
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]: platform=mysensors, service=load_platform.light, discovered=>
INFO:homeassistant.loader:Loaded binary_sensor from homeassistant.components.binary_sensor
INFO:homeassistant.loader:Loaded light.mysensors from homeassistant.components.light.mysensors
INFO:homeassistant.bootstrap:Setting up binary_sensor
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=binary_sensor>
INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: platform=mysensors, service=load_platform.binary_sensor, discovered=>
INFO:homeassistant.loader:Loaded climate from homeassistant.components.climate
INFO:homeassistant.components.light:Setting up light.mysensors
INFO:homeassistant.loader:Loaded binary_sensor.mysensors from homeassistant.components.binary_sensor.mysensors
INFO:homeassistant.bootstrap:Setting up climate
INFO:homeassistant.components.binary_sensor:Setting up binary_sensor.mysensors
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=climate, service=set_away_mode>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=climate, service=set_aux_heat>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=climate, service=set_temperature>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=climate, service=set_humidity>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=climate, service=set_fan_mode>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=climate, service=set_operation_mode>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=climate, service=set_swing_mode>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=climate>
INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: platform=mysensors, service=load_platform.climate, discovered=>
INFO:homeassistant.loader:Loaded cover from homeassistant.components.cover
INFO:homeassistant.loader:Loaded climate.mysensors from homeassistant.components.climate.mysensors
INFO:homeassistant.bootstrap:Setting up cover
INFO:homeassistant.components.climate:Setting up climate.mysensors
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=cover, service=set_cover_position>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=cover, service=close_cover>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=cover, service=open_cover_tilt>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=cover, service=set_cover_tilt_position>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=cover, service=stop_cover_tilt>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=cover, service=close_cover_tilt>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=cover, service=open_cover>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=cover, service=stop_cover>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=cover>
INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: platform=mysensors, service=load_platform.cover, discovered=>
INFO:homeassistant.loader:Loaded cover.mysensors from homeassistant.components.cover.mysensors
INFO:homeassistant.components.cover:Setting up cover.mysensors
INFO:homeassistant.core:Starting Home Assistant core loop
INFO:homeassistant.core:Starting Home Assistant
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=stop>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=restart>
INFO:homeassistant.core:Bus:Handling <Event homeassistant_start[L]>
INFO:mysensors.mysensors:Setting up initial MQTT topic subscription
DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/+/+/0/+/+
INFO:homeassistant.core:Timer:starting
DEBUG:homeassistant.components.mysensors:Update persistence: node 1
DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/+/+/3/+/+
INFO:homeassistant.core:Bus:Handling <Event mqtt_message_received[L]: payload=4, qos=0, topic=mysensors-out/1/4/1/0/37>
DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;4
DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
INFO:netdisco.service:Scanning
INFO:homeassistant.components.http:Serving /api/websocket to 192.168.1.1 (auth: False)
INFO:homeassistant.components.http:Serving /api/bootstrap to 192.168.1.1 (auth: True)
INFO:homeassistant.core:Bus:Handling <Event mqtt_message_received[L]: payload=, qos=0, topic=mysensors-out/1/4/0/0/7>
DEBUG:mysensors.mysensors:Receiving 1;4;0;0;7;
WARNING:mysensors.mysensors:child_id 4 already exists in children of node 1, cannot add child
INFO:homeassistant.core:Bus:Handling <Event mqtt_message_received[L]: payload=, qos=0, topic=mysensors-out/1/4/2/0/2>
DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state sun.sun=below_horizon; friendly_name=Sun, azimuth=338.22, next_setting=2016-12-28T22:35:27+00:00, elevation=-78.36, next_rising=2016-12-28T12:41:37+00:00 @ 2016-12-28T00:18:51.192205-05:00>, old_state=<state sun.sun=below_horizon; friendly_name=Sun, azimuth=0, next_setting=2016-12-28T22:35:27+00:00, elevation=0, next_rising=2016-12-28T12:41:37+00:00 @ 2016-12-28T00:18:51.192205-05:00>, entity_id=sun.sun>
INFO:homeassistant.core:Bus:Handling <Event mqtt_message_received[L]: payload=0, qos=0, topic=mysensors-out/1/4/1/0/37>
DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;0
DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
INFO:homeassistant.core:Bus:Handling <Event mqtt_message_received[L]: payload=1, qos=0, topic=mysensors-out/1/4/1/0/37>
DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;1
DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
INFO:homeassistant.core:Bus:Handling <Event mqtt_message_received[L]: payload=, qos=0, topic=mysensors-out/1/4/2/0/2>
DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
INFO:homeassistant.core:Bus:Handling <Event mqtt_message_received[L]: payload=0, qos=0, topic=mysensors-out/1/255/3/0/21>
DEBUG:mysensors.mysensors:Receiving 1;255;3;0;21;0 -
RE: MQTT raspberry pi gateway with HA, can't seem to find sensors.
@martinhjelmare said:
Thank you for the warning
Config directory: /home/pi/.homeassistant
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=turn_off, domain=homeassistant>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=turn_on, domain=homeassistant>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=toggle, domain=homeassistant>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=reload_core_config, domain=homeassistant>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=create, domain=persistent_notification>
INFO:homeassistant.bootstrap:Home Assistant core initialized
INFO:homeassistant.loader:Loaded discovery from homeassistant.components.discovery
INFO:homeassistant.loader:Loaded conversation from homeassistant.components.conversation
INFO:homeassistant.loader:Loaded http from homeassistant.components.http
INFO:homeassistant.loader:Loaded tts from homeassistant.components.tts
INFO:homeassistant.loader:Loaded logbook from homeassistant.components.logbook
INFO:homeassistant.loader:Loaded recorder from homeassistant.components.recorder
INFO:homeassistant.loader:Loaded frontend from homeassistant.components.frontend
INFO:homeassistant.loader:Loaded api from homeassistant.components.api
INFO:homeassistant.loader:Loaded websocket_api from homeassistant.components.websocket_api
INFO:homeassistant.loader:Loaded sensor from homeassistant.components.sensor
INFO:homeassistant.loader:Loaded updater from homeassistant.components.updater
INFO:homeassistant.loader:Loaded sun from homeassistant.components.sun
INFO:homeassistant.loader:Loaded mqtt from homeassistant.components.mqtt
INFO:homeassistant.loader:Loaded logger from homeassistant.components.logger
INFO:homeassistant.loader:Loaded history from homeassistant.components.history
INFO:homeassistant.loader:Loaded mysensors from homeassistant.components.mysensors
INFO:homeassistant.bootstrap:Setting up recorder
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=recorder>
INFO:homeassistant.bootstrap:Setting up logger
DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/4/1/+/+
DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/4/2/+/+
DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/+/4/+/+
INFO:mysensors.mysensors:Setting up initial MQTT topic subscription
DEBUG:homeassistant.components.mysensors:Update persistence: node 1
DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/+/+/0/+/+
DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/+/+/3/+/+
DEBUG:mysensors.mysensors:Receiving 1;255;3;0;12;1.0
DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
DEBUG:mysensors.mysensors:Receiving 1;4;0;0;7;
WARNING:mysensors.mysensors:child_id 4 already exists in children of node 1, cannot add child
DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;1
DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;15
DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;1
DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;-8
DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;1
DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;7
DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;2
DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;1
DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;6
DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;-2
DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;1
DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;