Thomas
Medlemmer-
Innlegg
56 -
Ble med
-
Besøkte siden sist
Innholdstype
Profiler
Forum
Blogger
Nedlastninger
Artikler
Regler
Hendelser
Galleri
Store
Alt skrevet av Thomas
-
Kom over denne i dag. i json fila finner man gjennomsnitt hittil denne måned. Man finner også kalkuler og estimer strømstøtte. https://github.com/martinju/stromstotte
- 356 svar
-
- 2
-
Egentlig rart disse verdiene ikke kommer med en gang. Det er bare utregninger. "Peak refers to the average price of the period from 8am to 8pm. Off peak 1 refers to the average price of the time period from midnight to 8am and off peak 2 refers to the average price of the time period from 8pm to midnight."
- 89 svar
-
- strømsparing
- home-assistant
-
(og 1 andre)
Merket med:
-
Takk for svar. Da får vi se i nytt API ?
- 89 svar
-
- strømsparing
- home-assistant
-
(og 1 andre)
Merket med:
-
Jeg opplever stadig at Peak, Off-peak1 og Off-peak2 blir satt til 0 ved midnatt. Dette ødelegger for automasjonen min som lader bilen. Flere som opplever dette ? Restart løser problemet
- 89 svar
-
- strømsparing
- home-assistant
-
(og 1 andre)
Merket med:
-
I dag er Peak, Off-peak1 og Off-peak2 0.0. Samme problem hos flere ? EDIT: løste seg ved en restart
- 89 svar
-
- strømsparing
- home-assistant
-
(og 1 andre)
Merket med:
-
ams Åpning av AMS HAN-port - Eidsiva Nett
Thomas svarte på 1v4r sitt emne i Strømsparing og strøm-overvåkning
Jeg bruke https://github.com/skagmo/meter_reading men får kun ut power. Noen som har klart å få ut noe mere ? Det kan hende problemet er at jeg har 1fas og at skriptet er laget for 3fas -
ams Åpning av AMS HAN-port - Eidsiva Nett
Thomas svarte på 1v4r sitt emne i Strømsparing og strøm-overvåkning
Har fått opp min og begynt å logge litt i Grafana. Iom at jeg fikk opp ams kl 18:00 blir grafen kitt rar enda. Går seg til til i morgen ? -
Lesing av AMS data (AMS/HAN -> IoT)
Thomas svarte på roarfred sitt emne i Strømsparing og strøm-overvåkning
Eidsiva har i dag åpnet sine Aidon målere. Jeg har prøvd @skagmo sim python kode, men det gir ikke noe output. Noen her som har fått ut noe fra Eidsiva ? screen /dev/ttyUSB1 gir noen rare tegn, så det kommer data. EDIT: Etter å ha testet med python2 så får jeg nå p_act_in -
Ser at denne kommer i neste versjon: https://github.com/home-assistant/home-assistant/pull/18873
- 43 svar
-
- 2
-
Lokal lesing av HAN - The Easy Way (TM)
Thomas svarte på petersv sitt emne i Strømsparing og strøm-overvåkning
Ja. Det er nok det. Jeg som leste litt fort -
Lokal lesing av HAN - The Easy Way (TM)
Thomas svarte på petersv sitt emne i Strømsparing og strøm-overvåkning
På siste side står det hvordan man aktiverer porten. Noen som har prøvd ? -
Jeg prøve å få sendt en altibox url til chromecast. Satt på debug i hass og slo på NRK i Altibox app-en. Får da dette: 2018-11-26 22:18:54 DEBUG (Thread-47) [pychromecast.socket_client] Received: Message urn:x-cast:com.google.cast.receiver from receiver-0 to *: {'requestId': 0, 'status': {'userEq': {}, 'volume': {'controlType': 'attenuation', 'level': 1.0, 'muted': False, 'stepInterval': 0.05000000074505806}}, 'type': 'RECEIVER_STATUS'} 2018-11-26 22:18:54 DEBUG (Thread-47) [pychromecast.controllers] Received status: CastStatus(is_active_input=False, is_stand_by=True, volume_level=1.0, volume_muted=False, app_id=None, display_name=None, namespaces=[], session_id=None, transport_id=None, status_text='') 2018-11-26 22:18:55 DEBUG (Thread-47) [pychromecast.socket_client] Received: Message urn:x-cast:com.google.cast.receiver from receiver-0 to *: {'requestId': 742, 'status': {'applications': [{'appId': '1A3E5EF0', 'displayName': 'chromecast-ott2', 'iconUrl': '', 'isIdleScreen': False, 'launchedFromCloud': False, 'namespaces': [{'name': 'urn:x-cast:com.google.cast.debugoverlay'}, {'name': 'urn:x-cast:com.google.cast.media'}], 'sessionId': 'b1cce4b9-c1c4-436b-a93c-492b4a672792', 'statusText': 'Application is starting...', 'transportId': 'b1cce4b9-c1c4-436b-a93c-492b4a672792'}], 'userEq': {}, 'volume': {'controlType': 'attenuation', 'level': 1.0, 'muted': False, 'stepInterval': 0.05000000074505806}}, 'type': 'RECEIVER_STATUS'} 2018-11-26 22:18:55 DEBUG (Thread-47) [pychromecast.controllers] Received status: CastStatus(is_active_input=False, is_stand_by=True, volume_level=1.0, volume_muted=False, app_id='1A3E5EF0', display_name='chromecast-ott2', namespaces=['urn:x-cast:com.google.cast.debugoverlay', 'urn:x-cast:com.google.cast.media'], session_id='b1cce4b9-c1c4-436b-a93c-492b4a672792', transport_id='b1cce4b9-c1c4-436b-a93c-492b4a672792', status_text='Application is starting...') 2018-11-26 22:18:55 DEBUG (Thread-47) [pychromecast.socket_client] Sending: Message urn:x-cast:com.google.cast.tp.connection from sender-0 to b1cce4b9-c1c4-436b-a93c-492b4a672792: {'type': 'CONNECT', 'origin': {}, 'userAgent': 'PyChromecast', 'senderInfo': {'sdkType': 2, 'version': '15.605.1.3', 'browserVersion': '44.0.2403.30', 'platform': 4, 'systemVersion': 'Macintosh; Intel Mac OS X10_10_3', 'connectionType': 1}} 2018-11-26 22:18:55 DEBUG (Thread-47) [pychromecast.socket_client] Sending: Message urn:x-cast:com.google.cast.media from sender-0 to b1cce4b9-c1c4-436b-a93c-492b4a672792: {'type': 'GET_STATUS', 'requestId': 14} 2018-11-26 22:18:55 DEBUG (Thread-47) [pychromecast.socket_client] Received: Message urn:x-cast:com.google.cast.receiver from receiver-0 to *: {'requestId': 0, 'status': {'applications': [{'appId': '1A3E5EF0', 'displayName': 'chromecast-ott2', 'iconUrl': '', 'isIdleScreen': False, 'launchedFromCloud': False, 'namespaces': [{'name': 'urn:x-cast:com.google.cast.debugoverlay'}, {'name': 'urn:x-cast:com.google.cast.media'}], 'sessionId': 'b1cce4b9-c1c4-436b-a93c-492b4a672792', 'statusText': 'Application status is ready...', 'transportId': 'b1cce4b9-c1c4-436b-a93c-492b4a672792'}], 'userEq': {}, 'volume': {'controlType': 'attenuation', 'level': 1.0, 'muted': False, 'stepInterval': 0.05000000074505806}}, 'type': 'RECEIVER_STATUS'} 2018-11-26 22:18:55 DEBUG (Thread-47) [pychromecast.controllers] Received status: CastStatus(is_active_input=False, is_stand_by=True, volume_level=1.0, volume_muted=False, app_id='1A3E5EF0', display_name='chromecast-ott2', namespaces=['urn:x-cast:com.google.cast.debugoverlay', 'urn:x-cast:com.google.cast.media'], session_id='b1cce4b9-c1c4-436b-a93c-492b4a672792', transport_id='b1cce4b9-c1c4-436b-a93c-492b4a672792', status_text='Application status is ready...') 2018-11-26 22:18:55 DEBUG (Thread-47) [pychromecast.socket_client] Received: Message urn:x-cast:com.google.cast.media from b1cce4b9-c1c4-436b-a93c-492b4a672792 to *: {'type': 'MEDIA_STATUS', 'requestId': 2, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [], 'activeTrackIDs': [], 'playerState': 'IDLE', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'currentTime': 0}]} 2018-11-26 22:18:55 DEBUG (Thread-47) [pychromecast.controllers] Media:Received status {'type': 'MEDIA_STATUS', 'requestId': 2, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [], 'activeTrackIDs': [], 'playerState': 'IDLE', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'currentTime': 0}]} 2018-11-26 22:18:55 DEBUG (Thread-47) [pychromecast.socket_client] Received: Message urn:x-cast:com.google.cast.media from b1cce4b9-c1c4-436b-a93c-492b4a672792 to *: {'type': 'MEDIA_STATUS', 'requestId': 14, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [], 'activeTrackIDs': [], 'playerState': 'IDLE', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'currentTime': 0}]} 2018-11-26 22:18:55 DEBUG (Thread-47) [pychromecast.controllers] Media:Received status {'type': 'MEDIA_STATUS', 'requestId': 14, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [], 'activeTrackIDs': [], 'playerState': 'IDLE', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'currentTime': 0}]} 2018-11-26 22:18:55 DEBUG (Thread-47) [pychromecast.socket_client] Received: Message urn:x-cast:com.google.cast.media from b1cce4b9-c1c4-436b-a93c-492b4a672792 to *: {'type': 'MEDIA_STATUS', 'requestId': 1, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [], 'activeTrackIDs': [], 'playerState': 'IDLE', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'currentTime': 0}]} 2018-11-26 22:18:55 DEBUG (Thread-47) [pychromecast.controllers] Media:Received status {'type': 'MEDIA_STATUS', 'requestId': 1, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [], 'activeTrackIDs': [], 'playerState': 'IDLE', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'currentTime': 0}]} 2018-11-26 22:18:55 DEBUG (Thread-47) [pychromecast.socket_client] Received: Message urn:x-cast:com.google.cast.media from b1cce4b9-c1c4-436b-a93c-492b4a672792 to *: {'type': 'MEDIA_STATUS', 'requestId': 1, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [], 'activeTrackIDs': [], 'playerState': 'IDLE', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'currentTime': 0}]} 2018-11-26 22:18:55 DEBUG (Thread-47) [pychromecast.controllers] Media:Received status {'type': 'MEDIA_STATUS', 'requestId': 1, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [], 'activeTrackIDs': [], 'playerState': 'IDLE', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'currentTime': 0}]} 2018-11-26 22:18:57 DEBUG (Thread-47) [pychromecast.socket_client] Received: Message urn:x-cast:com.google.cast.media from b1cce4b9-c1c4-436b-a93c-492b4a672792 to *: {'type': 'MEDIA_STATUS', 'requestId': 2, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [], 'activeTrackIDs': [], 'playerState': 'IDLE', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'media': {'contentId': 'Missing', 'streamType': 'BUFFERED', 'contentType': 'Missing', 'metadata': {'metadataType': 1, 'images': [{'url': 'http://gmtvottepg19.services.altibox.net:80/EPG/jsp/images/universal/film/poster/fileEntity/20160830/000300/XTV100000949/cc4bb6db-5b53-448f-9ade-f102997f5fc7.png', 'width': 0, 'height': 0}], 'title': 'NRK1'}, 'duration': None, 'customData': {'prefLang': ['NO'], 'baseUrl': 'https://digitvottepg15.services.altibox.net/', 'altiboxUrl': 'https://api.services.altibox.net', 'contentId': '471', 'playType': 2, 'mediaId': '000000000000000010110', 'mac': '3faedb72ac941236cast', 'chromeCastModel': 'Chromecast', 'currentProgramEnd': None}}, 'currentTime': None}]} 2018-11-26 22:18:57 DEBUG (Thread-47) [pychromecast.controllers] Media:Received status {'type': 'MEDIA_STATUS', 'requestId': 2, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [], 'activeTrackIDs': [], 'playerState': 'IDLE', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'media': {'contentId': 'Missing', 'streamType': 'BUFFERED', 'contentType': 'Missing', 'metadata': {'metadataType': 1, 'images': [{'url': 'http://gmtvottepg19.services.altibox.net:80/EPG/jsp/images/universal/film/poster/fileEntity/20160830/000300/XTV100000949/cc4bb6db-5b53-448f-9ade-f102997f5fc7.png', 'width': 0, 'height': 0}], 'title': 'NRK1'}, 'duration': None, 'customData': {'prefLang': ['NO'], 'baseUrl': 'https://digitvottepg15.services.altibox.net/', 'altiboxUrl': 'https://api.services.altibox.net', 'contentId': '471', 'playType': 2, 'mediaId': '000000000000000010110', 'mac': '3faedb72ac941236cast', 'chromeCastModel': 'Chromecast', 'currentProgramEnd': None}}, 'currentTime': None}]} 2018-11-26 22:18:59 DEBUG (Thread-47) [pychromecast.socket_client] Received: Message urn:x-cast:com.google.cast.media from b1cce4b9-c1c4-436b-a93c-492b4a672792 to *: {'type': 'MEDIA_STATUS', 'requestId': 0, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [], 'activeTrackIDs': [], 'playerState': 'IDLE', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'media': {'contentId': 'Missing', 'streamType': 'BUFFERED', 'contentType': 'Missing', 'metadata': {'metadataType': 1, 'images': [{'url': 'http://gmtvottepg19.services.altibox.net:80/EPG/jsp/images/universal/film/poster/fileEntity/20160830/000300/XTV100000949/cc4bb6db-5b53-448f-9ade-f102997f5fc7.png', 'width': 0, 'height': 0}], 'title': 'NRK1'}, 'duration': None, 'customData': {'prefLang': ['NO'], 'baseUrl': 'https://digitvottepg15.services.altibox.net/', 'altiboxUrl': 'https://api.services.altibox.net', 'contentId': '471', 'playType': 2, 'mediaId': '000000000000000010110', 'mac': '3faedb72ac941236cast', 'chromeCastModel': 'Chromecast', 'currentProgramEnd': None}, 'tracks': [{'trackId': 2, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 3, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 1, 'trackContentType': 'audio/mp4;codecs="mp4a.40.2"', 'type': 'AUDIO', 'language': 'nor'}]}, 'currentTime': None}]} 2018-11-26 22:18:59 DEBUG (Thread-47) [pychromecast.controllers] Media:Received status {'type': 'MEDIA_STATUS', 'requestId': 0, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [], 'activeTrackIDs': [], 'playerState': 'IDLE', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'media': {'contentId': 'Missing', 'streamType': 'BUFFERED', 'contentType': 'Missing', 'metadata': {'metadataType': 1, 'images': [{'url': 'http://gmtvottepg19.services.altibox.net:80/EPG/jsp/images/universal/film/poster/fileEntity/20160830/000300/XTV100000949/cc4bb6db-5b53-448f-9ade-f102997f5fc7.png', 'width': 0, 'height': 0}], 'title': 'NRK1'}, 'duration': None, 'customData': {'prefLang': ['NO'], 'baseUrl': 'https://digitvottepg15.services.altibox.net/', 'altiboxUrl': 'https://api.services.altibox.net', 'contentId': '471', 'playType': 2, 'mediaId': '000000000000000010110', 'mac': '3faedb72ac941236cast', 'chromeCastModel': 'Chromecast', 'currentProgramEnd': None}, 'tracks': [{'trackId': 2, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 3, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 1, 'trackContentType': 'audio/mp4;codecs="mp4a.40.2"', 'type': 'AUDIO', 'language': 'nor'}]}, 'currentTime': None}]} 2018-11-26 22:19:02 DEBUG (Thread-47) [pychromecast.socket_client] Received: Message urn:x-cast:com.google.cast.media from b1cce4b9-c1c4-436b-a93c-492b4a672792 to *: {'type': 'MEDIA_STATUS', 'requestId': 0, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [2, 1], 'activeTrackIDs': [2, 1], 'playerState': 'PLAYING', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'media': {'contentId': 'Missing', 'streamType': 'BUFFERED', 'contentType': 'Missing', 'metadata': {'metadataType': 1, 'images': [{'url': 'http://gmtvottepg19.services.altibox.net:80/EPG/jsp/images/universal/film/poster/fileEntity/20160830/000300/XTV100000949/cc4bb6db-5b53-448f-9ade-f102997f5fc7.png', 'width': 0, 'height': 0}], 'title': 'NRK1'}, 'duration': None, 'customData': {'prefLang': ['NO'], 'baseUrl': 'https://digitvottepg15.services.altibox.net/', 'altiboxUrl': 'https://api.services.altibox.net', 'contentId': '471', 'playType': 2, 'mediaId': '000000000000000010110', 'mac': '3faedb72ac941236cast', 'chromeCastModel': 'Chromecast', 'currentProgramEnd': None}, 'tracks': [{'trackId': 2, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 3, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 1, 'trackContentType': 'audio/mp4;codecs="mp4a.40.2"', 'type': 'AUDIO', 'language': 'nor'}]}, 'currentTime': None}]} 2018-11-26 22:19:02 DEBUG (Thread-47) [pychromecast.controllers] Media:Received status {'type': 'MEDIA_STATUS', 'requestId': 0, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [2, 1], 'activeTrackIDs': [2, 1], 'playerState': 'PLAYING', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'media': {'contentId': 'Missing', 'streamType': 'BUFFERED', 'contentType': 'Missing', 'metadata': {'metadataType': 1, 'images': [{'url': 'http://gmtvottepg19.services.altibox.net:80/EPG/jsp/images/universal/film/poster/fileEntity/20160830/000300/XTV100000949/cc4bb6db-5b53-448f-9ade-f102997f5fc7.png', 'width': 0, 'height': 0}], 'title': 'NRK1'}, 'duration': None, 'customData': {'prefLang': ['NO'], 'baseUrl': 'https://digitvottepg15.services.altibox.net/', 'altiboxUrl': 'https://api.services.altibox.net', 'contentId': '471', 'playType': 2, 'mediaId': '000000000000000010110', 'mac': '3faedb72ac941236cast', 'chromeCastModel': 'Chromecast', 'currentProgramEnd': None}, 'tracks': [{'trackId': 2, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 3, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 1, 'trackContentType': 'audio/mp4;codecs="mp4a.40.2"', 'type': 'AUDIO', 'language': 'nor'}]}, 'currentTime': None}]} 2018-11-26 22:19:02 DEBUG (Thread-47) [pychromecast.socket_client] Received: Message urn:x-cast:com.google.cast.media from b1cce4b9-c1c4-436b-a93c-492b4a672792 to *: {'type': 'MEDIA_STATUS', 'requestId': 0, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [2, 1], 'activeTrackIDs': [2, 1], 'playerState': 'PLAYING', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'media': {'contentId': 'Missing', 'streamType': 'BUFFERED', 'contentType': 'Missing', 'metadata': {'metadataType': 1, 'images': [{'url': 'http://gmtvottepg19.services.altibox.net:80/EPG/jsp/images/universal/film/poster/fileEntity/20160830/000300/XTV100000949/cc4bb6db-5b53-448f-9ade-f102997f5fc7.png', 'width': 0, 'height': 0}], 'title': 'NRK1', 'subtitle': 'Vår tid er nå'}, 'duration': 3600, 'customData': {'prefLang': ['NO'], 'baseUrl': 'https://digitvottepg15.services.altibox.net/', 'altiboxUrl': 'https://api.services.altibox.net', 'contentId': '471', 'playType': 2, 'mediaId': '000000000000000010110', 'mac': '3faedb72ac941236cast', 'chromeCastModel': 'Chromecast', 'currentProgramEnd': 1543267200000, 'currentProgramStart': 1543263600000, 'currentProgramName': 'Vår tid er nå', 'duration': 3600000}, 'tracks': [{'trackId': 2, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 3, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 1, 'trackContentType': 'audio/mp4;codecs="mp4a.40.2"', 'type': 'AUDIO', 'language': 'nor'}]}, 'currentTime': 3534.180100097656}]} 2018-11-26 22:19:02 DEBUG (Thread-47) [pychromecast.controllers] Media:Received status {'type': 'MEDIA_STATUS', 'requestId': 0, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [2, 1], 'activeTrackIDs': [2, 1], 'playerState': 'PLAYING', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'media': {'contentId': 'Missing', 'streamType': 'BUFFERED', 'contentType': 'Missing', 'metadata': {'metadataType': 1, 'images': [{'url': 'http://gmtvottepg19.services.altibox.net:80/EPG/jsp/images/universal/film/poster/fileEntity/20160830/000300/XTV100000949/cc4bb6db-5b53-448f-9ade-f102997f5fc7.png', 'width': 0, 'height': 0}], 'title': 'NRK1', 'subtitle': 'Vår tid er nå'}, 'duration': 3600, 'customData': {'prefLang': ['NO'], 'baseUrl': 'https://digitvottepg15.services.altibox.net/', 'altiboxUrl': 'https://api.services.altibox.net', 'contentId': '471', 'playType': 2, 'mediaId': '000000000000000010110', 'mac': '3faedb72ac941236cast', 'chromeCastModel': 'Chromecast', 'currentProgramEnd': 1543267200000, 'currentProgramStart': 1543263600000, 'currentProgramName': 'Vår tid er nå', 'duration': 3600000}, 'tracks': [{'trackId': 2, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 3, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 1, 'trackContentType': 'audio/mp4;codecs="mp4a.40.2"', 'type': 'AUDIO', 'language': 'nor'}]}, 'currentTime': 3534.180100097656}]} 2018-11-26 22:19:02 DEBUG (Thread-47) [pychromecast.socket_client] Received: Message urn:x-cast:com.google.cast.media from b1cce4b9-c1c4-436b-a93c-492b4a672792 to *: {'type': 'MEDIA_STATUS', 'requestId': 4, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [2, 1], 'activeTrackIDs': [2, 1], 'playerState': 'PLAYING', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'media': {'contentId': 'Missing', 'streamType': 'BUFFERED', 'contentType': 'Missing', 'metadata': {'metadataType': 1, 'images': [{'url': 'http://gmtvottepg19.services.altibox.net:80/EPG/jsp/images/universal/film/poster/fileEntity/20160830/000300/XTV100000949/cc4bb6db-5b53-448f-9ade-f102997f5fc7.png', 'width': 0, 'height': 0}], 'title': 'NRK1', 'subtitle': 'Vår tid er nå'}, 'duration': 3600, 'customData': {'prefLang': ['NO'], 'baseUrl': 'https://digitvottepg15.services.altibox.net/', 'altiboxUrl': 'https://api.services.altibox.net', 'contentId': '471', 'playType': 2, 'mediaId': '000000000000000010110', 'mac': '3faedb72ac941236cast', 'chromeCastModel': 'Chromecast', 'currentProgramEnd': 1543267200000, 'currentProgramStart': 1543263600000, 'currentProgramName': 'Vår tid er nå', 'duration': 3600000}, 'tracks': [{'trackId': 2, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 3, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 1, 'trackContentType': 'audio/mp4;codecs="mp4a.40.2"', 'type': 'AUDIO', 'language': 'nor'}]}, 'currentTime': 3.16}]} 2018-11-26 22:19:02 DEBUG (Thread-47) [pychromecast.controllers] Media:Received status {'type': 'MEDIA_STATUS', 'requestId': 4, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [2, 1], 'activeTrackIDs': [2, 1], 'playerState': 'PLAYING', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'media': {'contentId': 'Missing', 'streamType': 'BUFFERED', 'contentType': 'Missing', 'metadata': {'metadataType': 1, 'images': [{'url': 'http://gmtvottepg19.services.altibox.net:80/EPG/jsp/images/universal/film/poster/fileEntity/20160830/000300/XTV100000949/cc4bb6db-5b53-448f-9ade-f102997f5fc7.png', 'width': 0, 'height': 0}], 'title': 'NRK1', 'subtitle': 'Vår tid er nå'}, 'duration': 3600, 'customData': {'prefLang': ['NO'], 'baseUrl': 'https://digitvottepg15.services.altibox.net/', 'altiboxUrl': 'https://api.services.altibox.net', 'contentId': '471', 'playType': 2, 'mediaId': '000000000000000010110', 'mac': '3faedb72ac941236cast', 'chromeCastModel': 'Chromecast', 'currentProgramEnd': 1543267200000, 'currentProgramStart': 1543263600000, 'currentProgramName': 'Vår tid er nå', 'duration': 3600000}, 'tracks': [{'trackId': 2, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 3, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 1, 'trackContentType': 'audio/mp4;codecs="mp4a.40.2"', 'type': 'AUDIO', 'language': 'nor'}]}, 'currentTime': 3.16}]} 2018-11-26 22:19:03 DEBUG (Thread-47) [pychromecast.socket_client] Received: Message urn:x-cast:com.google.cast.media from b1cce4b9-c1c4-436b-a93c-492b4a672792 to *: {'type': 'MEDIA_STATUS', 'requestId': 5, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [2, 1], 'activeTrackIDs': [2, 1], 'playerState': 'BUFFERING', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'media': {'contentId': 'Missing', 'streamType': 'BUFFERED', 'contentType': 'Missing', 'metadata': {'metadataType': 1, 'images': [{'url': 'http://gmtvottepg19.services.altibox.net:80/EPG/jsp/images/universal/film/poster/fileEntity/20160830/000300/XTV100000949/cc4bb6db-5b53-448f-9ade-f102997f5fc7.png', 'width': 0, 'height': 0}], 'title': 'NRK1', 'subtitle': 'Vår tid er nå'}, 'duration': 3600, 'customData': {'prefLang': ['NO'], 'baseUrl': 'https://digitvottepg15.services.altibox.net/', 'altiboxUrl': 'https://api.services.altibox.net', 'contentId': '471', 'playType': 2, 'mediaId': '000000000000000010110', 'mac': '3faedb72ac941236cast', 'chromeCastModel': 'Chromecast', 'currentProgramEnd': 1543267200000, 'currentProgramStart': 1543263600000, 'currentProgramName': 'Vår tid er nå', 'duration': 3600000}, 'tracks': [{'trackId': 2, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 3, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 1, 'trackContentType': 'audio/mp4;codecs="mp4a.40.2"', 'type': 'AUDIO', 'language': 'nor'}]}, 'currentTime': 3.1599990234375}]} 2018-11-26 22:19:03 DEBUG (Thread-47) [pychromecast.controllers] Media:Received status {'type': 'MEDIA_STATUS', 'requestId': 5, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [2, 1], 'activeTrackIDs': [2, 1], 'playerState': 'BUFFERING', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'media': {'contentId': 'Missing', 'streamType': 'BUFFERED', 'contentType': 'Missing', 'metadata': {'metadataType': 1, 'images': [{'url': 'http://gmtvottepg19.services.altibox.net:80/EPG/jsp/images/universal/film/poster/fileEntity/20160830/000300/XTV100000949/cc4bb6db-5b53-448f-9ade-f102997f5fc7.png', 'width': 0, 'height': 0}], 'title': 'NRK1', 'subtitle': 'Vår tid er nå'}, 'duration': 3600, 'customData': {'prefLang': ['NO'], 'baseUrl': 'https://digitvottepg15.services.altibox.net/', 'altiboxUrl': 'https://api.services.altibox.net', 'contentId': '471', 'playType': 2, 'mediaId': '000000000000000010110', 'mac': '3faedb72ac941236cast', 'chromeCastModel': 'Chromecast', 'currentProgramEnd': 1543267200000, 'currentProgramStart': 1543263600000, 'currentProgramName': 'Vår tid er nå', 'duration': 3600000}, 'tracks': [{'trackId': 2, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 3, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 1, 'trackContentType': 'audio/mp4;codecs="mp4a.40.2"', 'type': 'AUDIO', 'language': 'nor'}]}, 'currentTime': 3.1599990234375}]} 2018-11-26 22:19:04 DEBUG (Thread-47) [pychromecast.socket_client] Received: Message urn:x-cast:com.google.cast.media from b1cce4b9-c1c4-436b-a93c-492b4a672792 to *: {'type': 'MEDIA_STATUS', 'requestId': 0, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [2, 1], 'activeTrackIDs': [2, 1], 'playerState': 'PLAYING', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'media': {'contentId': 'Missing', 'streamType': 'BUFFERED', 'contentType': 'Missing', 'metadata': {'metadataType': 1, 'images': [{'url': 'http://gmtvottepg19.services.altibox.net:80/EPG/jsp/images/universal/film/poster/fileEntity/20160830/000300/XTV100000949/cc4bb6db-5b53-448f-9ade-f102997f5fc7.png', 'width': 0, 'height': 0}], 'title': 'NRK1', 'subtitle': 'Vår tid er nå'}, 'duration': 3600, 'customData': {'prefLang': ['NO'], 'baseUrl': 'https://digitvottepg15.services.altibox.net/', 'altiboxUrl': 'https://api.services.altibox.net', 'contentId': '471', 'playType': 2, 'mediaId': '000000000000000010110', 'mac': '3faedb72ac941236cast', 'chromeCastModel': 'Chromecast', 'currentProgramEnd': 1543267200000, 'currentProgramStart': 1543263600000, 'currentProgramName': 'Vår tid er nå', 'duration': 3600000}, 'tracks': [{'trackId': 2, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 3, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 1, 'trackContentType': 'audio/mp4;codecs="mp4a.40.2"', 'type': 'AUDIO', 'language': 'nor'}]}, 'currentTime': 3.1599990234375}]} 2018-11-26 22:19:04 DEBUG (Thread-47) [pychromecast.controllers] Media:Received status {'type': 'MEDIA_STATUS', 'requestId': 0, 'status': [{'mediaSessionId': 1, 'playbackRate': 1, 'activeTrackIds': [2, 1], 'activeTrackIDs': [2, 1], 'playerState': 'PLAYING', 'supportedMediaCommands': 15, 'volume': {'level': 1, 'muted': False}, 'media': {'contentId': 'Missing', 'streamType': 'BUFFERED', 'contentType': 'Missing', 'metadata': {'metadataType': 1, 'images': [{'url': 'http://gmtvottepg19.services.altibox.net:80/EPG/jsp/images/universal/film/poster/fileEntity/20160830/000300/XTV100000949/cc4bb6db-5b53-448f-9ade-f102997f5fc7.png', 'width': 0, 'height': 0}], 'title': 'NRK1', 'subtitle': 'Vår tid er nå'}, 'duration': 3600, 'customData': {'prefLang': ['NO'], 'baseUrl': 'https://digitvottepg15.services.altibox.net/', 'altiboxUrl': 'https://api.services.altibox.net', 'contentId': '471', 'playType': 2, 'mediaId': '000000000000000010110', 'mac': '3faedb72ac941236cast', 'chromeCastModel': 'Chromecast', 'currentProgramEnd': 1543267200000, 'currentProgramStart': 1543263600000, 'currentProgramName': 'Vår tid er nå', 'duration': 3600000}, 'tracks': [{'trackId': 2, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 3, 'trackContentType': 'application/mp4;codecs="stpp"', 'type': 'TEXT', 'language': 'nor'}, {'trackId': 1, 'trackContentType': 'audio/mp4;codecs="mp4a.40.2"', 'type': 'AUDIO', 'language': 'nor'}]}, 'currentTime': 3.1599990234375}]} Noen som klarer å se noe fornuftig i dette ?
-
Jeg har fått det til (tror jeg). Har ikke kommet snø enda ? Lagde et script jeg kjører i cron en gang i døgnet. URL-ene kan sikkert ryddes litt i thomas@ubuntu:~$ cat snokart.sh yesterday=$(date --date="yesterday" '+%Y%m%dT0000') today=$(date '+%Y%m%dT0000') id="264511;6745296" snodybde=$(curl -s "http://h-web01.nve.no/chartserver/ShowData.aspx?req=getchart&ver=1.0&vfmt=json&time=$yesterday;$today&chs=10x10&lang=no&chlf=desc&chsl=0;+0&chhl=2|0|2&timeo=-06:00&app=3d&chd=ds=hgts,da=29,id=$id;sd,cht=area,mth=inst&nocache=0.08958826222640814" | jq .[0].SeriesPoints[-1].Value) vannekvivalent=$(curl -s "http://h-web01.nve.no/chartserver/ShowData.aspx?req=getchart&ver=1.0&vfmt=json&time=$yesterday;$today&chs=10x10&lang=no&chlf=desc&chsl=0;+0&chhl=2|0|2&timeo=-06:00&app=3d&chd=ds=hgts,da=29,id=$id;swe,cht=line,mth=inst&nocache=0.09229379378894098" | jq .[0].SeriesPoints[-1].Value) echo "{"'"'senorge_snodybde'"':'"'$snodybde'"','"'senorge_vannekvivalent'"':'"'$vannekvivalent'"'"}" > /home/thomas/.homeassistant/senorge.json json fila ser da slik ut thomas@ubuntu:~$ cat .homeassistant/senorge.json | jq { "senorge_snodybde": "0", "senorge_vannekvivalent": "0" } Og så lagde jeg 2 sensorer i HA Sensorer: - platform: file name: Snødybde file_path: /home/thomas/.homeassistant/senorge.json value_template: '{{ value_json.senorge_snodybde }}' unit_of_measurement: 'cm' - platform: file name: Vannekvivalent file_path: /home/thomas/.homeassistant/senorge.json value_template: '{{ value_json.senorge_vannekvivalent }}' unit_of_measurement: 'mm'
- 5 svar
-
- 2
-
Noen som har skills nok til å hente ut snødybde og vannekvivalent (er et mål på aktuell snømengde omgjort til millimeter vann) fra dette kartet ?. Jeg klarer å trykke meg frem til det manuelt og kan velge export av både txt og json. lengdegrad og breddegrad er jo definert i configuration i hass, så burde være mulig å lage en plugin uten å måtte oppgi dette. Anyone ? http://www.senorge.no/index.html?p=senorgeny&st=snow Her er litt om kartet: https://www.nve.no/hydrologi/sno/snokart/
-
Jeg har en Gen1 ovn som forsåvidt fungerer fint. Det eneste er at den synes som off hele tiden. Gen 1 kan ikke skrus av og på. Vet ikke om det er noe å gjøre med dette ?
-
Jeg har en slik og den fungerer fint
-
Vet at Tibber komponenten har samme problem. At det er vanskelig å hente fremtidige data i HASS. Der er det løst med en max og min sensor, så kan man kanskje stoppe strøm, hvis du er over f.eks 90% av max https://www.home-assistant.io/components/sensor.tibber/
- 89 svar
-
- strømsparing
- home-assistant
-
(og 1 andre)
Merket med:
-
Lesing av AMS data (AMS/HAN -> IoT)
Thomas svarte på roarfred sitt emne i Strømsparing og strøm-overvåkning
Hadde vært fint. Er fersk i Node Red, men er egentlig bare hvordan jeg dekoder slip, jeg lurer på. -- Thomas -
Lesing av AMS data (AMS/HAN -> IoT)
Thomas svarte på roarfred sitt emne i Strømsparing og strøm-overvåkning
Hvordan henter du ut dette i Node Red ? -
Sånt skjer :-) Men du bør uansett kjøre komandoen jeg skrev. Ser ut som hassio ikke har rettigheter til å skrive sensor mappen. Det skal opprettes noen __pycache__ filer der.
- 89 svar
-
- strømsparing
- home-assistant
-
(og 1 andre)
Merket med:
-
Prøv: sudo chown hassio:hassio homeassistant/custom_components/ -R EDIT: eller uten sudo, hvis du opererer som root
- 89 svar
-
- strømsparing
- home-assistant
-
(og 1 andre)
Merket med: