<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>batterie Archivi - Lenny76</title>
	<atom:link href="https://www.lenny76.com/tag/batterie/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.lenny76.com/tag/batterie/</link>
	<description>Esperienze reali e digitali</description>
	<lastBuildDate>Thu, 30 Jul 2020 13:56:22 +0000</lastBuildDate>
	<language>it-IT</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Integrare i dati delle batterie accumulo Sonnen in Home Assistant</title>
		<link>https://www.lenny76.com/tech/integrare-i-dati-delle-batterie-accumulo-sonnen-in-home-assistant/</link>
					<comments>https://www.lenny76.com/tech/integrare-i-dati-delle-batterie-accumulo-sonnen-in-home-assistant/#comments</comments>
		
		<dc:creator><![CDATA[lenny76]]></dc:creator>
		<pubDate>Thu, 12 Sep 2019 09:45:13 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[accumulo]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[batterie]]></category>
		<category><![CDATA[hassio]]></category>
		<category><![CDATA[home assistant]]></category>
		<category><![CDATA[json]]></category>
		<guid isPermaLink="false">https://www.lenny76.com/?p=682</guid>

					<description><![CDATA[<p>Per poter leggere i dati delle batterie di accumulo Sonnen, è possibile utilizzare una chiamata REST API, verso l&#8217;indirizzo ip della batteria. Infatti andando sulla pagina  http://IP_BATTERIA_SONNEN:8080/api/v1/status è possibile vedere in tempo reale i dati &#8220;grezzi&#8221; in formato json.  In Home Assistant quindi è sufficiente creare un sensore che legga<a class="moretag" href="https://www.lenny76.com/tech/integrare-i-dati-delle-batterie-accumulo-sonnen-in-home-assistant/"> Leggi tutto</a></p>
<p>L'articolo <a href="https://www.lenny76.com/tech/integrare-i-dati-delle-batterie-accumulo-sonnen-in-home-assistant/">Integrare i dati delle batterie accumulo Sonnen in Home Assistant</a> proviene da <a href="https://www.lenny76.com">Lenny76</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="682" class="elementor elementor-682">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-e892062 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="e892062" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-670700c" data-id="670700c" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-1f41dd2 elementor-widget elementor-widget-text-editor" data-id="1f41dd2" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Per poter leggere i dati delle batterie di accumulo Sonnen, è possibile utilizzare una chiamata REST API, verso l&#8217;indirizzo ip della batteria.</p>
<p>Infatti andando sulla pagina </p>
<pre style="line-height: 1.42857;">http://IP_BATTERIA_SONNEN:8080/api/v1/status</pre>
<p>è possibile vedere in tempo reale i dati &#8220;grezzi&#8221; in formato json. </p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-1c49b45 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="1c49b45" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9d97375" data-id="9d97375" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-58fd3db elementor-widget elementor-widget-text-editor" data-id="58fd3db" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>In Home Assistant quindi è sufficiente creare un sensore che legga questi dati e crei gli oggetti dedicati, aggiungendo al file <b>configuration.yaml</b> il codice qui sotto (ricordati di inserire l&#8217;indirizzo ip della tua batteria).</p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-bf2348f elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="bf2348f" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-eeb07d9" data-id="eeb07d9" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-76b9c64 elementor-widget elementor-widget-text-editor" data-id="76b9c64" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<pre>sensor:<br>- platform: rest<br>  name: JSON sonnen<br>  json_attributes:<br>    - Consumption_W<br>    - GridFeedIn_W<br>    - Production_W<br>    - USOC<br>  resource: http://IP_BATTERIA_SONNEN:8080/api/v1/status<br>  value_template: '{{ value_json.sonnen }}'<br>- platform: template<br>  sensors:<br>    sonnen_stromverbrauch:<br>      friendly_name: 'Consumo W'<br>      value_template: '{{ states.sensor.json_sonnen.attributes["Consumption_W"] }}'<br>      unit_of_measurement: 'W'<br>    sonnen_stromeinspeisung:<br>      friendly_name: 'Immessa W'<br>      value_template: '{{ states.sensor.json_sonnen.attributes["GridFeedIn_W"] }}'<br>      unit_of_measurement: 'W'<br>    sonnen_stromerzeugung:<br>      friendly_name: 'Prodotta W'<br>      value_template: '{{ states.sensor.json_sonnen.attributes["Production_W"] }}'<br>      unit_of_measurement: 'W'<br>    sonnen_stromspeicher:<br>      friendly_name: 'Carica %'<br>      value_template: '{{ states.sensor.json_sonnen.attributes["USOC"] }}'<br>      unit_of_measurement: '%'
    sonnen_incarica:
      friendly_name: 'Da/Verso Batteria'
      value_template: '{{ -states.sensor.json_sonnen.attributes["Pac_total_W"] }}'
      unit_of_measurement: 'W'</pre>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-350ff80 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="350ff80" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a282d5a" data-id="a282d5a" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-3720df4 elementor-widget elementor-widget-text-editor" data-id="3720df4" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Una volta aggiunto il codice, riavviate con restart HASS, ed aggiungete i sensori nella vostra dashboard</p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-37d00bc elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="37d00bc" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7b614d5" data-id="7b614d5" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-06d36c9 elementor-widget elementor-widget-image" data-id="06d36c9" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img fetchpriority="high" decoding="async" width="750" height="383" src="https://www.lenny76.com/wp-content/uploads/2019/09/datisonnen.jpg" class="attachment-large size-large wp-image-675" alt="" srcset="https://www.lenny76.com/wp-content/uploads/2019/09/datisonnen.jpg 855w, https://www.lenny76.com/wp-content/uploads/2019/09/datisonnen-300x153.jpg 300w, https://www.lenny76.com/wp-content/uploads/2019/09/datisonnen-768x393.jpg 768w" sizes="(max-width: 750px) 100vw, 750px" />															</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>L'articolo <a href="https://www.lenny76.com/tech/integrare-i-dati-delle-batterie-accumulo-sonnen-in-home-assistant/">Integrare i dati delle batterie accumulo Sonnen in Home Assistant</a> proviene da <a href="https://www.lenny76.com">Lenny76</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.lenny76.com/tech/integrare-i-dati-delle-batterie-accumulo-sonnen-in-home-assistant/feed/</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		
			</item>
	</channel>
</rss>
