hello i have this error on my log:
2017-06-05 09:39:51 ERROR (Thread-5) [homeassistant.components.telegram_bot] Can’t load photo into ByteIO: HTTPConnectionPool(host=‘192.168.1.98’, port=8080): Max retries exceeded with url: /photo.jpg (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0xade023b0>, ‘Connection to 192.168.1.98 timed out. (connect timeout=15)’))
2017-06-05 09:39:51 ERROR (Thread-5) [homeassistant.components.telegram_bot] Can’t send file with kwargs: {‘url’: ‘http://192.168.1.98:8080/photo.jpg’, ‘title’: ‘Home Assistant’, ‘message’: ‘Campainha Escada’, ‘caption’: ‘Campainha da Escada’}
my automation is:
- alias: 'Campainha'
trigger:
platform: state
entity_id: binary_sensor.Campainha
state: 'on'
action:
- service: mqtt.publish
data:
topic: 'home/433toMQTT'
payload: '10340193off'
retain: 'true'
- service: notify.telegram
data:
title: 'Home Assistant'
message: 'Campainha Escada'
data:
photo:
url: http://192.168.1.98:8080/photo.jpg
caption: 'Campainha da Escada'
when i try to send a simple text Works fine, but photo no.
anyone help me please.