Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gateway Mysensors problem #25768

Closed
ghost opened this issue Aug 8, 2019 · 36 comments
Closed

Gateway Mysensors problem #25768

ghost opened this issue Aug 8, 2019 · 36 comments

Comments

@ghost
Copy link

ghost commented Aug 8, 2019

Home Assistant release with the issue:
0.97

Last working Home Assistant release (if known):

Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io 170

Component/platform:

Description of problem:
Hi
I have this gateway:
https://www.mysensors.org/hardware/sensebender-gateway
and i have connected it to RPI4 with Hass.io

After restart i get info in logs:

Log Details (WARNING)
Thu Aug 08 2019 08:04:52 GMT+0200 (czas środkowoeuropejski letni)
Gateway /dev/ttyACM0 not ready after 15.0 secs so continuing with setup

But gateway works ok...
Maybe is any chance to add more time to timeout ?

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):


Additional information:

@MartinHjelmare
Copy link
Member

Are you configuring it as a tcp gateway? After how many seconds is it ready?

@MartinHjelmare
Copy link
Member

Please fill in the issue template completely.

@ghost
Copy link
Author

ghost commented Aug 8, 2019

No i have connected it by USB
This is my config:

# MySensors
mysensors:
  gateways:
    - device: '/dev/ttyACM0'
      persistence_file: '/config/mysensors.json'
      baud_rate: 38400
  optimistic: false
  persistence: true
  version: '2.2'

But how i can verify after what time it is ready? After rebot when HA start i try use device with gateway and it works.

@MartinHjelmare
Copy link
Member

Connect to the gateway with a serial monitor and log the messages. Look for I_GATEWAY_READY message which is an internal message with ID 14.

https://www.mysensors.org/download/serial_api_20

If you post the log I'll probably be able to see how long it takes.

@ghost
Copy link
Author

ghost commented Aug 8, 2019

But by pc by Arduino IDE serial Monitor ?

@MartinHjelmare
Copy link
Member

Yes Arduino IDE serial monitor should work.

@ghost
Copy link
Author

ghost commented Aug 8, 2019

ok today i test it and show you all messages which is show...

@ghost
Copy link
Author

ghost commented Aug 8, 2019

But in sketch i must have setup specific settings to show full info by serial....?

@ghost
Copy link
Author

ghost commented Aug 8, 2019

this is my sketch:

/**
* The MySensors Arduino library handles the wireless radio link and protocol
* between your home built sensors/actuators and HA controller of choice.
* The sensors forms a self healing radio network with optional repeaters. Each
* repeater and gateway builds a routing tables in EEPROM which keeps track of the
* network topology allowing messages to be routed to nodes.
*
* Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
* Copyright (C) 2013-2019 Sensnology AB
* Full contributor list: https://github.com/mysensors/MySensors/graphs/contributors
*
* Documentation: http://www.mysensors.org
* Support Forum: http://forum.mysensors.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
*******************************
*
* DESCRIPTION
* The ArduinoGateway prints data received from sensors on the serial link.
* The gateway accepts input on serial which will be sent out on radio network.
*
* This GW code is designed for Sensebender GateWay / (Arduino Zero variant)
*
* Wire connections (OPTIONAL):
* - Inclusion button should be connected to SW2
*
* LEDs on board (default assignments):
* - Orange: USB RX/TX - Blink when receiving / transmitting on USB CDC device
* - Yellow: RX  - Blink fast on radio message received. In inclusion mode will blink fast only on presentation received
* - Green : TX  - Blink fast on radio message transmitted. In inclusion mode will blink slowly
* - Red   : ERR - Fast blink on error during transmission error or receive crc error
* - Blue  : free - (use with LED_BLUE macro)
*
*/

#define SKETCH_VERSION "0.2"
// Enable debug prints to serial monitor
#define MY_DEBUG

// Enable and select radio type attached
//#define MY_RADIO_RF24
//#define MY_RADIO_NRF5_ESB
//#define MY_RADIO_RFM69
//#define MY_RADIO_RFM95
#define MY_RADIO_RFM69
#define MY_IS_RFM69HW
#define RFM69_868MH
#define MY_RFM69_NEW_DRIVER

// Set LOW transmit power level as default, if you have an amplified NRF-module and
// power your radio separately with a good regulator you can turn up PA level.
//#define MY_RF24_PA_LEVEL RF24_PA_HIGH

// Enable serial gateway
#define MY_GATEWAY_SERIAL

// Define a lower baud rate for Arduinos running on 8 MHz (Arduino Pro Mini 3.3V & Sensebender)
#if F_CPU == 8000000L
#define MY_BAUD_RATE 38400
#endif

// Enable inclusion mode
#define MY_INCLUSION_MODE_FEATURE
// Enable Inclusion mode button on gateway
#define MY_INCLUSION_BUTTON_FEATURE

// Inverses behavior of inclusion button (if using external pullup)
//#define MY_INCLUSION_BUTTON_EXTERNAL_PULLUP

// Set inclusion mode duration (in seconds)
#define MY_INCLUSION_MODE_DURATION 60
// Digital pin used for inclusion mode button
//#define MY_INCLUSION_MODE_BUTTON_PIN  3

// Set blinking period
#define MY_DEFAULT_LED_BLINK_PERIOD 300

// Inverses the behavior of leds
//#define MY_WITH_LEDS_BLINKING_INVERSE

// Flash leds on rx/tx/err
// Uncomment to override default HW configurations
//#define MY_DEFAULT_ERR_LED_PIN 4  // Error led pin
//#define MY_DEFAULT_RX_LED_PIN  6  // Receive led pin
//#define MY_DEFAULT_TX_LED_PIN  5  // the PCB, on board LED

#include <MySensors.h>
#include <SD.h>
#include <drivers/ATSHA204/ATSHA204.cpp>

Sd2Card card;

#define EEPROM_VERIFICATION_ADDRESS 0x01

static uint8_t num_of_leds = 5;
static uint8_t leds[] = {LED_BLUE, LED_RED, LED_GREEN, LED_YELLOW, LED_ORANGE};

void setup()
{
	// Setup locally attached sensors
}

void presentation()
{
	// Present locally attached sensors
}

void loop()
{
	// Send locally attached sensor data here
}


void preHwInit()
{

	pinMode(MY_SWC1, INPUT_PULLUP);
	pinMode(MY_SWC2, INPUT_PULLUP);
	if (digitalRead(MY_SWC1) && digitalRead(MY_SWC2)) {
		return;
	}

	uint8_t tests = 0;

	for (int i=0; i< num_of_leds; i++) {
		pinMode(leds[i], OUTPUT);
	}
	if (digitalRead(MY_SWC1)) {
		uint8_t led_state = 0;
		while (!Serial) {
			digitalWrite(LED_BLUE, led_state);
			led_state ^= 0x01;
			delay(500);
		} // Wait for USB to be connected, before spewing out data.
	}
	if (Serial) {
		Serial.println("Sensebender GateWay test routine");
		Serial.print("MySensors core version : ");
		Serial.println(MYSENSORS_LIBRARY_VERSION);
		Serial.print("GateWay sketch version : ");
		Serial.println(SKETCH_VERSION);
		Serial.println("----------------------------------");
		Serial.println();
	}
	if (testSha204()) {
		digitalWrite(LED_GREEN, HIGH);
		tests++;
	}
	if (testSDCard()) {
		digitalWrite(LED_YELLOW, HIGH);
		tests++;
	}

	if (testEEProm()) {
		digitalWrite(LED_ORANGE, HIGH);
		tests++;
	}
	if (tests == 4) {
		while(1) {
			for (int i=0; i<num_of_leds; i++) {
				digitalWrite(leds[i], HIGH);
				delay(200);
				digitalWrite(leds[i], LOW);
			}
		}
	} else {
		while (1) {
			digitalWrite(LED_RED, HIGH);
			delay(200);
			digitalWrite(LED_RED, LOW);
			delay(200);
		}
	}

}

bool testSha204()
{
	uint8_t rx_buffer[SHA204_RSP_SIZE_MAX];
	uint8_t ret_code;
	if (Serial) {
		Serial.print("- > SHA204 ");
	}
	atsha204_init(MY_SIGNING_ATSHA204_PIN);
	ret_code = atsha204_wakeup(rx_buffer);

	if (ret_code == SHA204_SUCCESS) {
		ret_code = atsha204_getSerialNumber(rx_buffer);
		if (ret_code != SHA204_SUCCESS) {
			if (Serial) {
				Serial.println(F("Failed to obtain device serial number. Response: "));
			}
			Serial.println(ret_code, HEX);
		} else {
			if (Serial) {
				Serial.print(F("Ok (serial : "));
				for (int i=0; i<9; i++) {
					if (rx_buffer[i] < 0x10) {
						Serial.print('0'); // Because Serial.print does not 0-pad HEX
					}
					Serial.print(rx_buffer[i], HEX);
				}
				Serial.println(")");
			}
			return true;
		}
	} else {
		if (Serial) {
			Serial.println(F("Failed to wakeup SHA204"));
		}
	}
	return false;
}

bool testSDCard()
{
	if (Serial) {
		Serial.print("- > SD CARD ");
	}
	if (!card.init(SPI_HALF_SPEED, MY_SDCARD_CS)) {
		if (Serial) {
			Serial.println("SD CARD did not initialize!");
		}
	} else {
		if (Serial) {
			Serial.print("SD Card initialized correct! - ");
			Serial.print("type detected : ");
			switch(card.type()) {
			case SD_CARD_TYPE_SD1:
				Serial.println("SD1");
				break;
			case SD_CARD_TYPE_SD2:
				Serial.println("SD2");
				break;
			case SD_CARD_TYPE_SDHC:
				Serial.println("SDHC");
				break;
			default:
				Serial.println("Unknown");
			}
		}
		return true;
	}
	return false;
}

bool testEEProm()
{
	uint8_t eeprom_d1, eeprom_d2;
	SerialUSB.print(" -> EEPROM ");
	eeprom_d1 = hwReadConfig(EEPROM_VERIFICATION_ADDRESS);
	delay(500);
	eeprom_d1 = ~eeprom_d1; // invert the bits
	hwWriteConfig(EEPROM_VERIFICATION_ADDRESS, eeprom_d1);
	delay(500);
	eeprom_d2 = hwReadConfig(EEPROM_VERIFICATION_ADDRESS);
	if (eeprom_d1 == eeprom_d2) {
		SerialUSB.println("PASSED");
		hwWriteConfig(EEPROM_VERIFICATION_ADDRESS, ~eeprom_d1);
		return true;
	}
	SerialUSB.println("FAILED!");
	return false;
}

bool testAnalog()
{
	int bat_detect = analogRead(MY_BAT_DETECT);
	Serial.print("-> analog : ");
	Serial.print(bat_detect);
	if (bat_detect < 400 || bat_detect > 650) {
		Serial.println(" Failed");
		return false;
	}
	Serial.println(" Passed");
	return true;
}

@MartinHjelmare
Copy link
Member

MY_DEBUG is already defined. That should be enough.

@ghost
Copy link
Author

ghost commented Aug 8, 2019

Ok when come back to home from my work i test it and put in this issue all logs which is show...

@ghost
Copy link
Author

ghost commented Aug 8, 2019

Or maybe add setup as option to config to user can own set timeout....But id not defined will be get deafult time. What you mean ?

@MartinHjelmare
Copy link
Member

I don't want to add an option for this, but set a good default.

@ghost
Copy link
Author

ghost commented Aug 8, 2019

Why dont want ?

@MartinHjelmare
Copy link
Member

MartinHjelmare commented Aug 8, 2019

It increases maintenance and support burden. It increases the risk for bad configuration that may lead to problems which leads to support requests. Options increase the code complexity. Options decrease the flexibility of the code.

The user should not have to care about this.

@ghost
Copy link
Author

ghost commented Aug 8, 2019

OK. Wait for my info from serial monitor....thx

@ghost
Copy link
Author

ghost commented Aug 8, 2019

This is all code after run on serial monitor

16:04:38.592 -> 0;255;3;0;9;65042 TSF:LRT:OK
16:04:38.592 -> 0;255;3;0;9;65052 TSM:INIT
16:04:38.592 -> 0;255;3;0;9;65063 TSF:WUR:MS=0
16:04:38.626 -> 0;255;3;0;9;65079 TSM:INIT:TSP OK
16:04:38.626 -> 0;255;3;0;9;65089 TSM:INIT:GW MODE
16:04:38.626 -> 0;255;3;0;9;65099 TSM:READY:ID=0,PAR=0,DIS=0
16:04:38.660 -> 0;255;3;0;9;65109 MCO:REG:NOT NEEDED
16:04:38.660 -> 0;255;3;0;14;Gateway startup complete.
16:04:38.660 -> 0;255;0;0;18;2.2.0
16:04:38.660 -> 0;255;3;0;9;65120 MCO:BGN:STP
16:04:38.660 -> 0;255;3;0;9;65130 MCO:BGN:INIT OK,TSP=1```

@MartinHjelmare
Copy link
Member

The gateway ready message seems to be sent within 1 second.

I think we need logs from home assistant too to figure this out. Please set the logger component to log at debug level for the mysensors component and the mysensors package.

https://www.home-assistant.io/components/mysensors/#debug-logging

Then restart home assistant with the gateway plugged in. Don't monitor with the serial monitor at the same time.

@ghost
Copy link
Author

ghost commented Aug 8, 2019

It is this ?

-------------------------------------------------------------------
HACS (Home Assistant Community Store)
Version: 0.12.1
This is a custom integration
If you have any issues with this you need to open an issue here:
https://github.com/custom-components/hacs/issues
-------------------------------------------------------------------

2019-08-08 20:24:39 INFO (MainThread) [homeassistant.setup] Setup of domain satel_integra took 0.3 seconds.
2019-08-08 20:24:39 INFO (SyncWorker_10) [homeassistant.loader] Loaded weather from homeassistant.components.weather
2019-08-08 20:24:39 INFO (SyncWorker_16) [homeassistant.loader] Loaded time_date from homeassistant.components.time_date
2019-08-08 20:24:39 INFO (MainThread) [homeassistant.setup] Setting up auth
2019-08-08 20:24:39 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.0 seconds.
2019-08-08 20:24:39 INFO (MainThread) [homeassistant.setup] Setting up webhook
2019-08-08 20:24:39 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.0 seconds.
2019-08-08 20:24:39 INFO (MainThread) [homeassistant.setup] Setting up system_health
2019-08-08 20:24:39 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 0.0 seconds.
2019-08-08 20:24:40 INFO (MainThread) [homeassistant.setup] Setting up api
2019-08-08 20:24:40 INFO (SyncWorker_6) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
2019-08-08 20:24:40 INFO (MainThread) [homeassistant.setup] Setting up history
2019-08-08 20:24:40 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2019-08-08 20:24:40 INFO (MainThread) [homeassistant.setup] Setting up script
2019-08-08 20:24:40 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds.
2019-08-08 20:24:40 INFO (MainThread) [homeassistant.setup] Setting up config
2019-08-08 20:24:40 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2019-08-08 20:24:40 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2019-08-08 20:24:40 INFO (MainThread) [satel_integra.satel_integra] Starting monitor_status loop
2019-08-08 20:24:40 INFO (SyncWorker_7) [homeassistant.loader] Loaded alarm_control_panel from homeassistant.components.alarm_control_panel
2019-08-08 20:24:40 INFO (MainThread) [homeassistant.setup] Setting up weather
2019-08-08 20:24:40 INFO (SyncWorker_19) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor
2019-08-08 20:24:40 INFO (MainThread) [homeassistant.setup] Setup of domain weather took 0.0 seconds.
2019-08-08 20:24:40 INFO (SyncWorker_5) [homeassistant.loader] Loaded switch from homeassistant.components.switch
2019-08-08 20:24:40 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.1 seconds.
2019-08-08 20:24:40 INFO (SyncWorker_8) [homeassistant.loader] Loaded template from homeassistant.components.template
2019-08-08 20:24:40 INFO (MainThread) [homeassistant.setup] Setting up tts
2019-08-08 20:24:40 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x00
2019-08-08 20:24:40 INFO (MainThread) [homeassistant.components.weather] Setting up weather.met
2019-08-08 20:24:40 INFO (MainThread) [homeassistant.setup] Setting up onboarding
2019-08-08 20:24:40 INFO (MainThread) [homeassistant.setup] Setting up cloud
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setting up automation
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setting up mobile_app
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setup of domain config took 1.0 seconds.
2019-08-08 20:24:41 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x0a
2019-08-08 20:24:41 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x0b
2019-08-08 20:24:41 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x0c
2019-08-08 20:24:41 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x0e
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setting up alarm_control_panel
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setup of domain alarm_control_panel took 0.0 seconds.
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.0 seconds.
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setting up sensor
2019-08-08 20:24:41 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x0f
2019-08-08 20:24:41 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x10
2019-08-08 20:24:41 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x13
2019-08-08 20:24:41 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x14
2019-08-08 20:24:41 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x17
2019-08-08 20:24:41 INFO (MainThread) [satel_integra.satel_integra] Ignoring message: 0x1f
2019-08-08 20:24:41 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x2a
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.command_line
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.command_line
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.time_date
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.template
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.components.alarm_control_panel] Setting up alarm_control_panel.satel_integra
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.satel_integra
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setting up switch
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.0 seconds.
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setup of domain mobile_app took 0.1 seconds.
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 1.0 seconds.
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 1.1 seconds.
2019-08-08 20:24:41 INFO (SyncWorker_8) [homeassistant.loader] Loaded notify from homeassistant.components.notify
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.components.switch] Setting up switch.satel_integra
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setting up frontend
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds.
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setting up notify
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 0.0 seconds.
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setting up logbook
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.0 seconds.
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setting up map
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setup of domain map took 0.0 seconds.
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setting up panel_custom
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setup of domain panel_custom took 0.0 seconds.
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setup of domain person took 2.3 seconds.
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.9 seconds.
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.components.notify] Setting up notify.mobile_app
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/places
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/brewdog
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/weatheralerts
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/wienerlinien
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.rpi_power
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.untappd
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/authenticated
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/unsplash
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/combined
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/feedparser
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.personalcapital
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.trakt
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/climate.e_thermostaat
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/media_player.braviatv_psk
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.sonarr_upcoming_media
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.radarr_upcoming_media
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.owlintuition
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.unifigateway
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.ssh
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.plex_recently_added
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.kodi_recently_added
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/youtube
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/hacs
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/config_check
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.yandex_maps
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/climate.programmable_thermostat
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.file_restore
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.avanza_stock
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/gpodder
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.airthings_wave
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/breaking_changes
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/zaptec
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/grocy
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/qbo
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.nintendo_wishlist
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/templatesensor
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-components/sensor.stadtreinigung_hamburg
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] DSorlov/hasl-platform
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] StyraHem/ShellyForHASS
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] isabellaalstrom/sensor.krisinformation
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] JurajNyiri/HomeAssistant-Tavos
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] JurajNyiri/HomeAssistant-Atrea
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] JurajNyiri/HomeAssistant-qBitTorrentAlternativeSpeed
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] TimSoethout/goodwe-sems-home-assistant
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] bramkragten/lyric
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] bramkragten/mind
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] bouwew/sems2mqtt
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] akasma74/Hass-Custom-Alarm
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] keatontaylor/alexa_media_player
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] albertogeniola/meross-homeassistant
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] mudape/iphonedetect
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] bertbert72/HomeAssistant_VirginTivo
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] nstrelow/ha_philips_android_tv
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] rsnodgrass/hass-integrations
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] Ceerbeerus/beerbolaget
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] thomasloven/hass-browser_mod
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] claytonjn/hass-circadian_lighting
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] xMrVizzy/Philips-AirPurifier
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] jomwells/ambilights
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] jomwells/ambihue
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] jomwells/ambilight-yeelight
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] MatthewFlamm/nwsradar
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] Paul-dH/Home-Assisant-Sensor-OvApi
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] rt400/School-Vacation
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] xirixiz/Home-Assistant-Sensor-Afvalwijzer
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] bieniu/ha-airly
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] bieniu/ha-gios
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] DavidFW1960/bom_forecast
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] legrego/homeassistant-elasticsearch
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] kalanda/homeassistant-aemet-sensor
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] basschipper/homeassistant-generic-hygrostat
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] claudegel/sinope-1
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] claudegel/sinope-gt125
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] tybritten/ical-sensor-homeassistant
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] Martinvdm/garbage-nissewaard-homeassistant
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] RobHofmann/HomeAssistant-GreeClimateComponent
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] pippyn/Home-Assistant-Sensor-Afvalbeheer
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] pippyn/Home-Assistant-Sensor-Groningen-Afvalwijzer
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] pippyn/Home-Assistant-Sensor-Ophaalkalender
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] pilotak/homeassistant-clientraw
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] pilotak/homeassistant-attributes
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] pilotak/homeassistant-mikrotik
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] safepay/sensor.fronius
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] safepay/sensor.willyweather
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] RobHofmann/HomeAssistant-PhilipsAndroid2014
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] twrecked/hass-aarlo
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] mlowijs/HomeAssistant-TeslaCustomComponent
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] rgruebel/ha_zigbee2mqtt_networkmap
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] PiotrMachowski/Home-Assistant-custom-components-Tauron-AMIplus
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] PiotrMachowski/Home-Assistant-custom-components-Rozkladzik
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] PiotrMachowski/Home-Assistant-custom-components-Looko2
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] PiotrMachowski/Home-Assistant-custom-components-iMPK
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] PiotrMachowski/Home-Assistant-custom-components-Burze.dzis.net
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] PiotrMachowski/Home-Assistant-custom-components-Antistorm
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] ljmerza/ha-email-sensor
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] rdehuyss/homeassistant-custom_components-denkovi
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] ljmerza/ha-our-groceries
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] jihao/colorfulclouds-hass
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] jihao/rokid-webhook-hass
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] jihao/traccar-cn-hass
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] tefinger/hass-brematic
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] doudz/homeassistant-zigate
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] asantaga/lightwaverf_HA_EnergySensor
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] asantaga/wiserHomeAssistantPlatform
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] amaximus/bkk_stop
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] jxlarrea/ha-emfitqs
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] PiotrMachowski/Home-Assistant-custom-components-Google-Keep
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] burnnat/media_player.screenly
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/text-element
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/circle-sensor-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/state-attribute-element
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/vertical-stack-in-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/state-element
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/canvas-gauge-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/dual-gauge-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/beer-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/ext-weblink
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/aftership-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/username-element
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/list-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/button-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/rmv-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/upcoming-media-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/surveillance-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/light-entity-row
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/button-entity-row
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/flex-table-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/secondaryinfo-entity-row
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/bar-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/roku-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/pc-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/config-template-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/podcast-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/untappd-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/group-element
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/text-divider-row
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/cover-element
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/radial-menu
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/text-action-element
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/bignumber-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/entity-attributes-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/gauge-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/group-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/home-setter
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/monster-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/plan-coordinates
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/decluttering-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/nintendo-wishlist-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/favicon-counter
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] maykar/compact-custom-header
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] maykar/lovelace-swipe-navigation
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] peternijssen/lovelace-postnl-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] nervetattoo/simple-thermostat
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] nervetattoo/banner-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] kalkih/mini-media-player
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] kalkih/mini-graph-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] kalkih/simple-weather-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] finity69x2/fan-control-entity-row
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] thomasloven/lovelace-card-mod
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] thomasloven/lovelace-markdown-mod
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] thomasloven/lovelace-slider-entity-row
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] thomasloven/lovelace-fold-entity-row
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] isabellaalstrom/krisinfo-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] tcarlsen/lovelace-light-with-profiles
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] atomic7777/atomic_calendar
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] bramkragten/weather-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] bramkragten/swipe-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] CyrisXD/love-lock-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] dimagoltsman/content-card-remote-control
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] PiotrMachowski/lovelace-xiaomi-vacuum-map-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] ljmerza/calendar-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] ljmerza/light-entity-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] ljmerza/fitbit-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] ljmerza/github-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] ljmerza/travel-time-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] ljmerza/reddit-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] ljmerza/tracking-number-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] gadgetchnnel/lovelace-card-templater
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] gadgetchnnel/lovelace-home-feed-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] gadgetchnnel/lovelace-text-input-row
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] DavidFW1960/bom-weather-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] isabellaalstrom/lovelace-grocy-chores-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] Ceerbeerus/beerbolaget-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] benct/lovelace-xiaomi-vacuum-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] benct/lovelace-multiple-entity-row
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] benct/lovelace-github-entity-row
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] twrecked/lovelace-hass-aarlo
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] RodBr/miflora-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] ljmerza/our-groceries-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] dmulcahey/zha-network-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] jonkristian/entur-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] dnguyen800/air-visual-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] PiotrMachowski/lovelace-google-keep-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] snarky-snark/home-assistant-variables
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] LordBoos/discord_game
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] dlashua/templatebinarysensor
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] amaximus/bkk-stop-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] postlund/search-card
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] andersonshatch/midea-ac-py
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] fondberg/spotcast
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] thomasloven/hass-lovelace_gen
2019-08-08 20:24:41 INFO (MainThread) [custom_components.hacs.restore] custom-cards/spotify-card
2019-08-08 20:24:41 INFO (MainThread) [homeassistant.setup] Setup of domain hacs took 2.3 seconds.
2019-08-08 20:24:42 INFO (MainThread) [homeassistant.setup] Setting up hassio
2019-08-08 20:24:42 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.4 seconds.
2019-08-08 20:24:42 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.hacs
2019-08-08 20:24:42 INFO (MainThread) [homeassistant.setup] Setup of domain hassio took 0.1 seconds.
2019-08-08 20:24:42 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 1.0 seconds.
2019-08-08 20:24:42 INFO (MainThread) [homeassistant.setup] Setting up default_config
2019-08-08 20:24:42 INFO (SyncWorker_0) [homeassistant.loader] Loaded stream from homeassistant.components.stream
2019-08-08 20:24:42 INFO (MainThread) [homeassistant.setup] Setting up stream
2019-08-08 20:24:42 INFO (MainThread) [homeassistant.setup] Setup of domain stream took 0.0 seconds.
2019-08-08 20:24:42 INFO (MainThread) [homeassistant.setup] Setup of domain default_config took 0.1 seconds.
2019-08-08 20:24:42 INFO (MainThread) [homeassistant.setup] Setting up mysensors
2019-08-08 20:24:42 DEBUG (SyncWorker_18) [mysensors.persistence] Loading sensors from persistence file /config/mysensors.json
2019-08-08 20:24:42 DEBUG (SyncWorker_16) [mysensors.persistence] Saving sensors to persistence file /config/mysensors.json
2019-08-08 20:24:42 INFO (MainThread) [homeassistant.setup] Setup of domain mysensors took 0.1 seconds.
2019-08-08 20:24:42 DEBUG (MainThread) [homeassistant.components.mysensors.helpers] Node 0 is missing sketch name
2019-08-08 20:24:42 INFO (SyncWorker_7) [homeassistant.loader] Loaded cover from homeassistant.components.cover
2019-08-08 20:24:42 INFO (MainThread) [homeassistant.setup] Setting up cover
2019-08-08 20:24:42 INFO (MainThread) [homeassistant.setup] Setup of domain cover took 0.0 seconds.
2019-08-08 20:24:42 INFO (MainThread) [homeassistant.components.cover] Setting up cover.mysensors
2019-08-08 20:24:42 INFO (MainThread) [homeassistant.components.mysensors] Adding new devices: [<Entity Cover Roleta Sypialnia__ 30 1: open>]
2019-08-08 20:24:42 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: Cover Roleta Sypialnia__ 30 1: value_type 3, value = 0
2019-08-08 20:24:42 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: Cover Roleta Sypialnia__ 30 1: value_type 31, value = 1
2019-08-08 20:24:42 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: Cover Roleta Sypialnia__ 30 1: value_type 29, value = 1
2019-08-08 20:24:42 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: Cover Roleta Sypialnia__ 30 1: value_type 30, value = 1
2019-08-08 20:24:42 INFO (MainThread) [mysensors.gateway_serial] Trying to connect to /dev/ttyACM0
2019-08-08 20:24:42 INFO (MainThread) [mysensors] Connected to Serial<id=0xaceeed30, open=True>(port='/dev/ttyACM0', baudrate=38400, bytesize=8, parity='N', stopbits=1, timeout=0, xonxoff=False, rtscts=False, dsrdtr=False)
2019-08-08 20:24:57 WARNING (MainThread) [homeassistant.components.mysensors.gateway] Gateway /dev/ttyACM0 not ready after 15.0 secs so continuing with setup
2019-08-08 20:24:57 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 20.17s
2019-08-08 20:24:57 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2019-08-08 20:24:57 INFO (MainThread) [custom_components.hacs] Runing startup tasks.
2019-08-08 20:24:57 INFO (MainThread) [custom_components.hacs] Trying to load existing data.
2019-08-08 20:24:57 INFO (MainThread) [custom_components.hacs] Running scheduled update of installed repositories
2019-08-08 20:24:57 INFO (MainThread) [custom_components.hacs.custom-components/hacs] Running update
2019-08-08 20:24:58 INFO (MainThread) [homeassistant.core] Timer:starting
2019-08-08 20:24:58 INFO (SyncWorker_6) [homeassistant.loader] Loaded mqtt from homeassistant.components.mqtt
2019-08-08 20:25:00 INFO (MainThread) [custom_components.hacs.custom-cards/light-entity-row] Running update
2019-08-08 20:25:00 INFO (MainThread) [satel_integra.satel_integra] Ignoring message: 0xee
2019-08-08 20:25:02 INFO (SyncWorker_0) [homeassistant.loader] Loaded unifi from homeassistant.components.unifi
2019-08-08 20:25:02 INFO (SyncWorker_15) [homeassistant.loader] Loaded ambiclimate from homeassistant.components.ambiclimate
2019-08-08 20:25:02 INFO (SyncWorker_4) [homeassistant.loader] Loaded openuv from homeassistant.components.openuv
2019-08-08 20:25:02 INFO (SyncWorker_6) [homeassistant.loader] Loaded ifttt from homeassistant.components.ifttt
2019-08-08 20:25:02 INFO (SyncWorker_0) [homeassistant.loader] Loaded smhi from homeassistant.components.smhi
2019-08-08 20:25:02 INFO (SyncWorker_16) [homeassistant.loader] Loaded plaato from homeassistant.components.plaato
2019-08-08 20:25:02 INFO (SyncWorker_2) [homeassistant.loader] Loaded owntracks from homeassistant.components.owntracks
2019-08-08 20:25:02 INFO (SyncWorker_19) [homeassistant.loader] Loaded toon from homeassistant.components.toon
2019-08-08 20:25:02 INFO (SyncWorker_14) [homeassistant.loader] Loaded twilio from homeassistant.components.twilio
2019-08-08 20:25:02 INFO (SyncWorker_3) [homeassistant.loader] Loaded velbus from homeassistant.components.velbus
2019-08-08 20:25:02 INFO (SyncWorker_1) [homeassistant.loader] Loaded point from homeassistant.components.point
2019-08-08 20:25:02 INFO (SyncWorker_15) [homeassistant.loader] Loaded vesync from homeassistant.components.vesync
2019-08-08 20:25:02 INFO (SyncWorker_11) [homeassistant.loader] Loaded cast from homeassistant.components.cast
2019-08-08 20:25:02 INFO (SyncWorker_7) [homeassistant.loader] Loaded iqvia from homeassistant.components.iqvia
2019-08-08 20:25:02 INFO (SyncWorker_5) [homeassistant.loader] Loaded mailgun from homeassistant.components.mailgun
2019-08-08 20:25:02 INFO (SyncWorker_18) [homeassistant.loader] Loaded homekit_controller from homeassistant.components.homekit_controller
2019-08-08 20:25:02 INFO (SyncWorker_9) [homeassistant.loader] Loaded ipma from homeassistant.components.ipma
2019-08-08 20:25:02 INFO (SyncWorker_17) [homeassistant.loader] Loaded esphome from homeassistant.components.esphome
2019-08-08 20:25:02 INFO (SyncWorker_8) [homeassistant.loader] Loaded daikin from homeassistant.components.daikin
2019-08-08 20:25:02 INFO (SyncWorker_13) [homeassistant.loader] Loaded heos from homeassistant.components.heos
2019-08-08 20:25:02 INFO (SyncWorker_12) [homeassistant.loader] Loaded zwave from homeassistant.components.zwave
2019-08-08 20:25:02 INFO (SyncWorker_10) [homeassistant.loader] Loaded tellduslive from homeassistant.components.tellduslive
2019-08-08 20:25:02 INFO (SyncWorker_4) [homeassistant.loader] Loaded simplisafe from homeassistant.components.simplisafe
2019-08-08 20:25:02 INFO (SyncWorker_6) [homeassistant.loader] Loaded twentemilieu from homeassistant.components.twentemilieu
2019-08-08 20:25:02 INFO (SyncWorker_0) [homeassistant.loader] Loaded axis from homeassistant.components.axis
2019-08-08 20:25:02 INFO (SyncWorker_16) [homeassistant.loader] Loaded nest from homeassistant.components.nest
2019-08-08 20:25:02 INFO (SyncWorker_2) [homeassistant.loader] Loaded life360 from homeassistant.components.life360
2019-08-08 20:25:02 INFO (SyncWorker_19) [homeassistant.loader] Loaded geofency from homeassistant.components.geofency
2019-08-08 20:25:02 INFO (SyncWorker_14) [homeassistant.loader] Loaded lifx from homeassistant.components.lifx
2019-08-08 20:25:02 INFO (SyncWorker_3) [homeassistant.loader] Loaded wemo from homeassistant.components.wemo
2019-08-08 20:25:02 INFO (SyncWorker_1) [homeassistant.loader] Loaded zone from homeassistant.components.zone
2019-08-08 20:25:02 INFO (SyncWorker_15) [homeassistant.loader] Loaded gpslogger from homeassistant.components.gpslogger
2019-08-08 20:25:02 INFO (SyncWorker_11) [homeassistant.loader] Loaded wwlln from homeassistant.components.wwlln
2019-08-08 20:25:02 INFO (SyncWorker_7) [homeassistant.loader] Loaded sonos from homeassistant.components.sonos
2019-08-08 20:25:02 INFO (SyncWorker_5) [homeassistant.loader] Loaded hue from homeassistant.components.hue
2019-08-08 20:25:02 INFO (SyncWorker_18) [homeassistant.loader] Loaded adguard from homeassistant.components.adguard
2019-08-08 20:25:02 INFO (SyncWorker_9) [homeassistant.loader] Loaded homematicip_cloud from homeassistant.components.homematicip_cloud
2019-08-08 20:25:02 INFO (SyncWorker_17) [homeassistant.loader] Loaded logi_circle from homeassistant.components.logi_circle
2019-08-08 20:25:02 INFO (SyncWorker_8) [homeassistant.loader] Loaded notion from homeassistant.components.notion
2019-08-08 20:25:02 INFO (SyncWorker_13) [homeassistant.loader] Loaded locative from homeassistant.components.locative
2019-08-08 20:25:02 INFO (SyncWorker_12) [homeassistant.loader] Loaded smartthings from homeassistant.components.smartthings
2019-08-08 20:25:02 INFO (SyncWorker_10) [homeassistant.loader] Loaded ios from homeassistant.components.ios
2019-08-08 20:25:02 INFO (SyncWorker_4) [homeassistant.loader] Loaded zha from homeassistant.components.zha
2019-08-08 20:25:02 INFO (SyncWorker_6) [homeassistant.loader] Loaded dialogflow from homeassistant.components.dialogflow
2019-08-08 20:25:02 INFO (SyncWorker_0) [homeassistant.loader] Loaded rainmachine from homeassistant.components.rainmachine
2019-08-08 20:25:02 INFO (SyncWorker_16) [homeassistant.loader] Loaded ps4 from homeassistant.components.ps4
2019-08-08 20:25:02 INFO (SyncWorker_2) [homeassistant.loader] Loaded tplink from homeassistant.components.tplink
2019-08-08 20:25:02 INFO (SyncWorker_19) [homeassistant.loader] Loaded tradfri from homeassistant.components.tradfri
2019-08-08 20:25:02 INFO (SyncWorker_14) [homeassistant.loader] Loaded hangouts from homeassistant.components.hangouts
2019-08-08 20:25:02 INFO (SyncWorker_3) [homeassistant.loader] Loaded luftdaten from homeassistant.components.luftdaten
2019-08-08 20:25:02 INFO (SyncWorker_1) [homeassistant.loader] Loaded ambient_station from homeassistant.components.ambient_station
2019-08-08 20:25:02 INFO (SyncWorker_15) [homeassistant.loader] Loaded deconz from homeassistant.components.deconz
2019-08-08 20:25:02 INFO (SyncWorker_11) [homeassistant.loader] Loaded upnp from homeassistant.components.upnp
2019-08-08 20:25:02 INFO (SyncWorker_7) [homeassistant.loader] Loaded somfy from homeassistant.components.somfy
2019-08-08 20:25:02 INFO (SyncWorker_5) [homeassistant.loader] Loaded emulated_roku from homeassistant.components.emulated_roku
2019-08-08 20:25:03 INFO (MainThread) [custom_components.hacs.thomasloven/lovelace-slider-entity-row] Running update
2019-08-08 20:25:06 INFO (MainThread) [custom_components.hacs] Fetching updated blacklist
2019-08-08 20:25:08 INFO (MainThread) [custom_components.hacs.integration] Fetching updated repository list
2019-08-08 20:25:08 INFO (MainThread) [custom_components.hacs.plugin] Fetching updated repository list
2019-08-08 20:25:20 INFO (MainThread) [satel_integra.satel_integra] Ignoring message: 0xee
2019-08-08 20:25:40 INFO (MainThread) [satel_integra.satel_integra] Ignoring message: 0xee
2019-08-08 20:25:49 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x00
2019-08-08 20:25:51 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x00
2019-08-08 20:26:01 INFO (MainThread) [satel_integra.satel_integra] Ignoring message: 0xee
2019-08-08 20:26:02 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x00
2019-08-08 20:26:04 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x00
2019-08-08 20:26:06 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x00
2019-08-08 20:26:08 INFO (MainThread) [satel_integra.satel_integra] Calling handler for id: 0x00
2019-08-08 20:26:20 INFO (MainThread) [satel_integra.satel_integra] Ignoring message: 0xee

This is config logger:

logger:
  default: info
  logs:
    homeassistant.components.mysensors: debug
    mysensors: debug

@ghost
Copy link
Author

ghost commented Aug 9, 2019

Any news ?

@MartinHjelmare MartinHjelmare changed the title Gateway Mysenosrs problem Gateway Mysensors problem Aug 9, 2019
@MartinHjelmare
Copy link
Member

Try using the default baudrate. The Sensebender gateway doesn't run on 8 MHz.

# MySensors
mysensors:
  gateways:
    - device: '/dev/ttyACM0'
      persistence_file: '/config/mysensors.json'
  version: '2.2'

@ghost
Copy link
Author

ghost commented Aug 9, 2019

Still showing warning:

Gateway /dev/ttyACM0 not ready after 15.0 secs so continuing with setup
12:48 components/mysensors/gateway.py (WARNING)

with this config:

# MySensors
mysensors:
  gateways:
    - device: '/dev/ttyACM0'
      persistence_file: '/config/mysensors.json'
  optimistic: false
  persistence: true
  version: '2.2'

@ghost
Copy link
Author

ghost commented Aug 9, 2019

And you have any solution?

@MartinHjelmare
Copy link
Member

MartinHjelmare commented Aug 9, 2019

Have you checked that you can open a serial connection to the gateway with the correct user on your RPi4, and read the messages from the gateway?

It looks like no messages are coming on the serial connection after opening it.

@ghost
Copy link
Author

ghost commented Aug 9, 2019

Yes. I have added to gateway one node cover and normally controll this device. I hear how working relay.

@MartinHjelmare
Copy link
Member

This is how the log should look after opening the connection to a serial gateway:

2019-08-09 22:51:58 INFO (MainThread) [mysensors.gateway_serial] Trying to connect to /dev/ttyACM0
2019-08-09 22:51:58 INFO (MainThread) [mysensors] Connected to Serial<id=0x7f915ebcee10, open=True>(port='/dev/ttyACM0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=0, xonxoff=False, rtscts=False, dsrdtr=False)
2019-08-09 22:51:59 DEBUG (MainThread) [mysensors] Receiving 0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RNNGA---,VER=2.2.0
2019-08-09 22:51:59 DEBUG (MainThread) [mysensors.handler] n:0 c:255 t:3 s:9 p:0 MCO:BGN:INIT GW,CP=RNNGA---,VER=2.2.0
2019-08-09 22:51:59 DEBUG (MainThread) [mysensors.handler] n:0 c:255 t:3 s:9 p:4 TSM:INIT
2019-08-09 22:51:59 DEBUG (MainThread) [mysensors.handler] n:0 c:255 t:3 s:9 p:6 TSF:WUR:MS=0
2019-08-09 22:51:59 DEBUG (MainThread) [mysensors.handler] n:0 c:255 t:3 s:9 p:14 TSM:INIT:TSP OK
2019-08-09 22:51:59 DEBUG (MainThread) [mysensors.handler] n:0 c:255 t:3 s:9 p:17 TSM:INIT:GW MODE
2019-08-09 22:51:59 DEBUG (MainThread) [mysensors.handler] n:0 c:255 t:3 s:9 p:20 TSM:READY:ID=0,PAR=0,DIS=0
2019-08-09 22:51:59 DEBUG (MainThread) [mysensors.handler] n:0 c:255 t:3 s:9 p:23 MCO:REG:NOT NEEDED
2019-08-09 22:51:59 INFO (MainThread) [mysensors.handler] n:0 c:255 t:3 s:14 p:Gateway startup complete.

If you don't see the debug messages between opening the connection and the gateway says it's ready, there's something wrong with the serial output, or the interpretation of the output from the gateway.

You were able to see these messages when connecting the serial monitor on the Arduino IDE to your gateway. My guess is then that something in your environment on the RPi affects the serial connection so the messages don't read as we expect them to. It's not likely that this is something in the code for the mysensors integration. I'm sorry that I can't help more.

@ghost
Copy link
Author

ghost commented Aug 9, 2019

I have many clear config on my rpi4 because I test new rpi4 and have only this gateway on this hassio. I don't know where is a problem...

@ghost
Copy link
Author

ghost commented Aug 10, 2019

I installed again on my SD Card image Hass.io for RPI4. And configure again MySensors Gateway and problem is the same. Nothing changed, Please help. System is clear install and not resolved problem.

@ghost
Copy link
Author

ghost commented Aug 11, 2019

Also i done test on RPI3 and clear install image HassOS and the same problem. In configuration is only config for mysensors.

# MySensors
mysensors:
  gateways:
    - device: '/dev/ttyACM0'
      persistence_file: '/config/mysensors.json'
  optimistic: false
  persistence: true
  version: '2.2'
Gateway /dev/ttyACM0 not ready after 15.0 secs so continuing with setup
12:26 components/mysensors/gateway.py (WARNING)

@ghost
Copy link
Author

ghost commented Aug 11, 2019

Anybody can help me.... Please

@MartinHjelmare
Copy link
Member

I would try to run Home Assistant without hass.io on a computer where you know you can connect to the gateway and read from the serial connection to the gateway. If that works, we can rule out both the gateway and Home Assistant from the suspects.

@ghost
Copy link
Author

ghost commented Aug 12, 2019

But can it be on RPI3 B+ with Home Assistant in Hasbian ?

@ghost
Copy link
Author

ghost commented Aug 13, 2019

??

@stale
Copy link

stale bot commented Nov 11, 2019

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 11, 2019
@colemamd
Copy link

I had a similar issue with my hass via Docker. I wasn't passing the correct serial device (i.e. ttyACM0) through to Home Assistant. I was getting the same log entries you are and it appeared to be working normally. I moved to pi4 recently and when I configured the proper USB serial device the timeout log entries went away. Just something to check in case you haven't already :-)

@stale stale bot removed the stale label Nov 11, 2019
@MartinHjelmare
Copy link
Member

I'll close this, since it seems the issue is environment setting specific and not controlled by the mysensors integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants