<?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>Home Automation | DXSdata</title>
	<atom:link href="https://www.dxsdata.com/category/home-automation/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dxsdata.com</link>
	<description>Software &#124; Network &#124; Administration</description>
	<lastBuildDate>Wed, 22 Nov 2023 15:54:06 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://www.dxsdata.com/wp-content/uploads/2023/08/cropped-logo-32x32.jpg</url>
	<title>Home Automation | DXSdata</title>
	<link>https://www.dxsdata.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>[:de]PS3 DS3 Bluetooth Controller mit Stepcraft WinPC-NC USB CNC-Steuerung verwenden[:en]Using PS3 DS3 Bluetooth Controller with Stepcraft WinPC-NC USB CNC milling software[:]</title>
		<link>https://www.dxsdata.com/2019/12/using-ps3-ds3-bluetooth-controller-with-stepcraft-winpc-nc-usb-cnc-milling-software/</link>
					<comments>https://www.dxsdata.com/2019/12/using-ps3-ds3-bluetooth-controller-with-stepcraft-winpc-nc-usb-cnc-milling-software/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 24 Dec 2019 19:26:24 +0000</pubDate>
				<category><![CDATA[CNC]]></category>
		<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">https://www.dxsdata.com/?p=2151</guid>

					<description><![CDATA[[:en]Assuming you have WinPC-NC USB 2.x installed, follow these steps to be able to control your Stepcraft CNC with your PS3 Dual Shock controller. With former methods like ScpToolkit, it was possible, but only via wired USB connection. Using the new approach below (from the same developer), just disconnect the USB cable and the controller [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:en]Assuming you have WinPC-NC USB 2.x installed, follow these steps to be able to control your Stepcraft CNC with your PS3 Dual Shock controller.</p>
<p>With former methods like <a href="https://github.com/nefarius/ScpToolkit/releases">ScpToolkit</a>, it was possible, but only via wired USB connection. Using the new approach below (from the same developer), just disconnect the USB cable and the controller will connect wirelessly.</p>
<p>Note: It is recommended to use a separate BT dongle if you are using other BT devices, as the other devices might not be able to connect any more after installing the alternative driver.</p>
<p>Download the latest PS3 Bluetooth drivers from <a href="https://downloads.vigem.org/projects/BthPS3/stable/">here</a>.</p>
<p>Run the setup.</p>
<p>It will redirect you to <a href="https://forums.vigem.org/topic/357/bthps3-post-setup-instructions">this site</a> afterwards.</p>
<p>Install the additional software like explained there:</p>
<ul>
<li>ViGEm Bus Driver (run Setup)</li>
<li>FireShock (run Setup)</li>
<li>Shibari (extract)
<ul>
<li>Then run the Shibari.Dom.Server.exe and leave the console open</li>
</ul>
</li>
</ul>
<p>Connect your PS3 controller via USB.</p>
<p>Disconnect it after a few seconds, maybe press the main PS3 key once. You should see the device connects via bluetooth within the Shibari window.</p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/12/shibari.jpg" rel="attachment wp-att-2153"><img loading="lazy" decoding="async" class="size-medium wp-image-2153 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/12/shibari-300x156.jpg" alt="" width="300" height="156" /></a></p>
<p>Now we configure WinPC-NC USB:</p>
<ul>
<li>Parameters -&gt; Interfaces -&gt; Joystick -&gt; &#8220;Gameport1&#8221;</li>
<li>Also run the joystick calibration, using e.g. the left analog key and X button.</li>
</ul>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/12/winpc-nc-usb.jpg" rel="attachment wp-att-2155"><img loading="lazy" decoding="async" class="size-medium wp-image-2155 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/12/winpc-nc-usb-300x238.jpg" alt="" width="300" height="238" /></a></p>
<p>Finally, open &#8220;manual joystick driving&#8221; (Shift+F5) and steer your Stepcraft:</p>
<p>https:// youtu.be/aBW22zcR_l0 (video not embedded, due to GDPR)</p>
<p>References:</p>
<p>https://forums.vigem.org/topic/362/playstation-r-3-peripherals-unofficial-bluetooth-drivers-bthps3</p>
<p>[:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2019/12/using-ps3-ds3-bluetooth-controller-with-stepcraft-winpc-nc-usb-cnc-milling-software/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[:de]Gardena Sileno Firmware-Update: Manuelle Treiberinstallation[:en]Gardena Sileno Firmware Update: Manual driver installation[:]</title>
		<link>https://www.dxsdata.com/2017/11/gardena-sileno-firmware-update-manual-driver-installation/</link>
					<comments>https://www.dxsdata.com/2017/11/gardena-sileno-firmware-update-manual-driver-installation/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 15 Nov 2017 19:02:08 +0000</pubDate>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Home Automation]]></category>
		<guid isPermaLink="false">http://www.dxsdata.com/?p=1909</guid>

					<description><![CDATA[[:en]Gardena uses a local Java application (p15g-client) combined with their website to perform firmware updates on the Sileno mowers. While this is a nice approach, Gardena does not mention cases in which the local drivers for the USB interface are not installed automatically, e.g. where automatic updates are disabled or running via local WSUS server etc. [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:en]Gardena uses a local Java application (p15g-client) combined with their website to perform <a href="http://www.gardena.com/at/service/mahroboter-beratungscenter/software-update/">firmware updates</a> on the Sileno mowers.</p>
<p>While this is a nice approach, Gardena does not mention cases in which the local drivers for the USB interface are not installed automatically, e.g. where automatic updates are disabled or running via local WSUS server etc.</p>
<p>If the drivers are not installed, you will get stuck in this interface (German):</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-1910 " src="https://www.dxsdata.com/wp-content/uploads/2017/11/img_5a0c8e0ad80b4.png" alt="" width="592" height="332" /></p>
<p>&nbsp;</p>
<p><strong>Solution</strong></p>
<p>Install the STM32 x64 drivers package from <a href="https://kiss.flyduino.net/download/stm32-virtual-com-drivers-64bit-pc/">this site</a>.</p>
<p>Afterwards, check your Windows Device Manager. It should recognize a new virtual COM port after your mower is connected and switched on.</p>
<p><img decoding="async" class="alignnone size-full wp-image-1911 " src="https://www.dxsdata.com/wp-content/uploads/2017/11/img_5a0c8eae1de28.png" alt="" /></p>
<p>&nbsp;[:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2017/11/gardena-sileno-firmware-update-manual-driver-installation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[:de]Mikrotik RouterOS über SSH und OpenHAB steuern[:en]Remote controlling Mikrotik RouterOS with SSH and OpenHAB 2[:]</title>
		<link>https://www.dxsdata.com/2017/08/remote-controlling-mikrotik-routeros-with-ssh-and-openhab-2/</link>
					<comments>https://www.dxsdata.com/2017/08/remote-controlling-mikrotik-routeros-with-ssh-and-openhab-2/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 07 Aug 2017 12:45:18 +0000</pubDate>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<guid isPermaLink="false">http://www.dxsdata.com/?p=1860</guid>

					<description><![CDATA[[:en]&#160; In a previous post, I explained how to set up Mikrotik Routerboards as a VPN gateway. This post is about how to remotely switch the VPN on and off via Smart Home visualization OpenHAB 2, so it affects your whole LAN. You can even switch to other VPN servers, conveniently via phone or browser [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:en]&nbsp;</p>
<p>In a <a href="https://www.dxsdata.com/2017/04/ipvanish-vpn-with-mikrotik-routeros/">previous post</a>, I explained how to set up Mikrotik Routerboards as a VPN gateway.</p>
<p>This post is about how to remotely switch the VPN on and off via Smart Home visualization OpenHAB 2, so it affects your whole LAN. You can even switch to other VPN servers, conveniently via phone or browser interface.</p>
<p>Basic procedure: User starts a command via OpenHAB interface -&gt; SSH commands are executed via shell -&gt; RouterOS accepts the commands.</p>
<h3>SSH preparation</h3>
<p>First we need to establish a simple and secure connection between your server (e.g. Ubuntu, running OpenHAB) and your routerboard, which can be used in scripts without passwords.</p>
<p>On your OH server, execute:</p>
<pre class="lang:sh decode:true ">su - openhab -s /bin/bash #the Linux user which is running the OpenHAB process
mkdir /ssh-mikrotik
cd /ssh-mikrotik
ssh-keygen -t rsa #as location, choose /ssh-mikrotik/id_rsa
</pre>
<p>Copy the file /ssh-mikrotik/id_rsa<strong>.pub </strong>to your Mikrotik device, e.g. via WinSCP and RouterOS WinBox (or FTP / terminal).</p>
<p>Then open WinBox -&gt; System -&gt; Users and create a user &#8220;openhab&#8221; with full permissions. If you want, restrict it to a certain IP address.</p>
<p>In &#8220;SSH keys&#8221; tab, import the file id_rsa.pub you copied before, and assign it to Mikrotik user &#8220;openhab&#8221;.</p>
<p>Test the SSH connection on your OH server:</p>
<pre class="lang:sh decode:true">ssh -l openhab -i /ssh-mikrotik/id_rsa 10.1.0.11 "echo asdf" # assuming 10.1.0.11 is your RouterOS device</pre>
<p>&nbsp;</p>
<h3>Scripts</h3>
<p>You need some scripts on your OH server to get the VPN state and be able to control it.</p>
<pre title="/ssh-mikrotik/vpn-control.sh" class="lang:sh decode:true ">#!/bin/bash

if [ "$1" = "ON" ]
then
        echo "enabling vpn"
        ssh -l openhab -i /ssh-mikrotik/id_rsa 10.1.0.11 "/interface pptp-client enable myvpn" #assuming your VPN runs via PPTP and is called "myvpn"
fi

if [ "$1" = "OFF" ]
then
        echo "disabling vpn"
        ssh -l openhab -i /ssh-mikrotik/id_rsa 10.1.0.11 "/interface pptp-client disable myvpn"
fi</pre>
<p>&nbsp;</p>
<pre title="/ssh-mikrotik/vpn-status.php" class="lang:php decode:true">&lt;?php

$result = `ssh -l openhab -i /ssh-mikrotik/id_rsa  10.1.0.11 "/interface pptp-client print where name=myvpn"`;

#echo $result;

$lines = explode("\n", $result);

//offline?
if (count($lines) &lt; 5)
{
        echo "error";
        exit;
}

$line = $lines[1];

$expl = explode(" ",$line);

#var_dump($expl);

if ($expl[3] == "R")
{
        echo "ON";
}
else
{
        echo "OFF";
}

?&gt;
</pre>
<p>Make both scripts executable by the openhab user:</p>
<pre class="lang:sh decode:true">chmod a+x openhab /ssh-mikrotik/vpn-*</pre>
<p>You can later extend these scripts e.g. to be able to switch to another VPN host. Use the commands like in WinBox terminal, e.g. &#8220;/interface pptp-client set myvpn connect-to=example.com&#8221;.</p>
<p>Execute the scripts in your OH server&#8217;s shell manually to see if they work (they must be able to run under user openhab).</p>
<h3>OpenHAB2 configuration</h3>
<p>The last step is to configure OH visualization.</p>
<p>We use the Exec binding for OH2, so make sure it is enabled in runtime.cfg (or in your preferred OH admin interface).</p>
<pre title="demo.things" class="lang:sh decode:true">Thing exec:command:Vpn-Control [command="/ssh-mikrotik/vpn-control.sh %2$s", interval=0, autorun=true] 
Thing exec:command:Vpn-Status [command="/usr/bin/php /ssh-mikrotik/vpn-status.php", interval=3600, timeout=15]</pre>
<pre title="demo.items" class="lang:sh decode:true">String VPN "VPN" &lt;network&gt; (All) { channel="exec:command:Vpn-Control:input", channel="exec:command:Vpn-Status:output", autoupdate="true"}</pre>
<pre title="demo.sitemap" class="lang:sh decode:true ">Switch item=VPN</pre>
<p>You should now be able to control your VPN interface via OpenHAB:</p>
<p><img decoding="async" class="alignnone size-full wp-image-1863 " src="https://www.dxsdata.com/wp-content/uploads/2017/08/img_59885fff9ef2b.png" alt="" />[:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2017/08/remote-controlling-mikrotik-routeros-with-ssh-and-openhab-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[:de]OpenHAB 2 aktualisiert Items bei KNX-Bustelegrammen nicht[:en]OpenHAB 2 does not update its items on KNX bus events[:]</title>
		<link>https://www.dxsdata.com/2017/06/openhab-2-does-not-update-its-items-on-knx-bus-events/</link>
					<comments>https://www.dxsdata.com/2017/06/openhab-2-does-not-update-its-items-on-knx-bus-events/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 28 Jun 2017 18:55:04 +0000</pubDate>
				<category><![CDATA[Home Automation]]></category>
		<guid isPermaLink="false">http://www.dxsdata.com/?p=1800</guid>

					<description><![CDATA[[:en] Scenario openHAB is basically working, but does not always update items when they change (e.g. when a window contact closes or opens). However, testing via ETS works. Reason openHAB, especially version 2.x, offers a new option for the KNX interface configuration, &#8220;ignorelocalevents&#8221;. At first sight, it looks like a good idea to set it [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:en]</p>
<h3>Scenario</h3>
<p>openHAB is basically working, but does not always update items when they change (e.g. when a window contact closes or opens).</p>
<p>However, testing via ETS works.</p>
<h3>Reason</h3>
<p>openHAB, especially version 2.x, offers a new option for the KNX interface configuration, &#8220;ignorelocalevents&#8221;.</p>
<p>At first sight, it looks like a good idea to set it to &#8220;true&#8221;, but what happens is that every message from sender &#8220;0.0.0&#8221; is ignored, because openHAB sees itself as 0.0.0 (local) by default.</p>
<p>If you work with KNX devices or interfaces which do not necessarily own a physical sender address (like any Home Automation Server from Gira, Loxone, &#8230; or with eibd / BCU SDK), they might also use the KNX sender address 0.0.0 by default, which leads to packets (telegrams) being ignored by openHAB.</p>
<h3>Solution</h3>
<p>IMHO, the best way is to give openHAB a &#8220;physical&#8221;, unallocated address like 1.1.240.</p>
<p>If you want to stay with PA 0.0.0, set &#8220;ignorelocalevents&#8221; to false. Note, this seems not to be recommended by the OH2 developers, as it should provide only backwards compatibility.</p>
<p>So a working openHAB2 KNX config could look like:</p>
<pre title="/etc/openhab2/services/knx.cfg" class="lang:sh decode:true ">#(example uses eibd on Ubuntu as KNX interface)
ip=10.1.0.52
#type=ROUTER
type=TUNNEL
timeout=2000
ignorelocalevents=true
port=3671
autoReconnectPeriod=30
busaddr=1.1.240</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;[:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2017/06/openhab-2-does-not-update-its-items-on-knx-bus-events/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[:de]Amazon Echo Dot (Alexa) mit OpenHAB 2: Kombinieren mit Squeezebox, KNX, HTTP- und SSH-Kommandos senden[:en]Amazon Echo Dot (Alexa) with OpenHAB 2: Controlling Squeezebox, KNX, send HTTP and SSH commands[:]</title>
		<link>https://www.dxsdata.com/2017/03/amazon-echo-dot-alexa-with-openhab-2-controlling-squeezebox-knx-send-http-and-ssh-commands/</link>
					<comments>https://www.dxsdata.com/2017/03/amazon-echo-dot-alexa-with-openhab-2-controlling-squeezebox-knx-send-http-and-ssh-commands/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 02 Mar 2017 16:23:26 +0000</pubDate>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">http://www.dxsdata.com/?p=1646</guid>

					<description><![CDATA[[:en]Amazon&#8217;s Echo Dot is a great way to control your smart home via voice. If you are already using a visualization tool like OpenHAB for your smart home, it&#8217;s quite easy to get it running. Because every smart home installation is configured very individually, I will only explain some basics here. OpenHAB 2 If you [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:en]Amazon&#8217;s Echo Dot is a great way to control your smart home via voice.</p>
<p>If you are already using a visualization tool like OpenHAB for your smart home, it&#8217;s quite easy to get it running.</p>
<p>Because every smart home installation is configured very individually, I will only explain some basics here.</p>
<h3>OpenHAB 2</h3>
<p>If you are running OpenHAB v1, please upgrade it to v2. Most OH1&#8217;s add-ons, bindings etc. can be used with OH2 and the <a href="http://docs.openhab.org/tutorials/migration.html">migration process</a> is quite feasible.</p>
<p>Upgrade recommendations:</p>
<ul>
<li>Use a fresh installation for OH2 (new Ubuntu VM, Raspberry Pi etc.)</li>
<li>Decide at the beginning which of the 3 configuration types (text-based, Paper UI, Karaf) you would like to use in the future. It could be error-prone to change in the future, because every type saves the configs to other places. I would prefer Paper UI, but the migration doc linked above recommends text-based config.</li>
</ul>
<p>When you have OH2 ready to run, install the addon &#8220;Hue Emulation&#8221;:</p>
<ul>
<li>Text-based config: In services/addons.cfg, uncomment the &#8220;misc =&#8221; line and add &#8220;hueemulation&#8221;</li>
<li>Paper UI: Open Add-ons -&gt; Misc -&gt; Install Hue Emulation</li>
</ul>
<p>Then open your items file. For testing purposes, simply add &#8220;[ &#8220;Lighting&#8221; ]&#8221;  or &#8220;[ &#8220;Switchable&#8221; ]&#8221; to an already switch.</p>
<p>Example:</p>
<pre class="lang:sh decode:true">Switch myswitch "Test" &lt;myicon&gt; (mygroup) [ "Switchable" ] { channel=... }</pre>
<p>Save the items file, then run the Alexa app, connect it and let it search for devices. You can also do this via voice command, e.g. &#8220;Alexa, search for connected devices&#8221;, or in German &#8220;Alexa, suche nach verbundenen Geräten&#8221;. Make sure you have enabled the Pairing mode, e.g. via Paper UI addon config.</p>
<p>Alexa should find a device called &#8220;Test&#8221;. Try it e.g. by saying &#8220;Alexa, switch Test on.&#8221;.</p>
<h3>Send HTTP commands</h3>
<p>Sometimes it can be useful to make Echo Dot call simple HTTP GET commands, especially with a KNX / smart home server, which reside in your local network and you want those commands to be called directly in your LAN, not via cloud/Skill feature etc.</p>
<p>To achieve this, enable the OpenHAB HTTP binding. You might also need the TCP binding.</p>
<p>In your items file, add a simple switch item like:</p>
<pre class="lang:sh decode:true">Switch AlexaRollershutters "Shutters" [ "Switchable" ]</pre>
<p>You do not have to add it in your sitemap, so it can stay invisible.</p>
<p>Append to your rules file:</p>
<pre class="lang:sh decode:true ">rule "Alexa: Rollershutters"
        when
                Item AlexaRollershutters received command
        then
                //sendHttpGetRequest("http://myserver/myCommandToControlShutters") //if you don't have an existing OH switch for your shutters, you could use this way
                switch(receivedCommand) {
                 case ON : MyRollershutters.sendCommand(DOWN)
                 case OFF : MyRollershutters.sendCommand(UP)
                 }

        end</pre>
<p>Add the &#8220;Shutters&#8221; device to Alexa like described above. You should now be able to control your rollershutters.</p>
<p>For debugging purposes, you can temporarily add the switch AlexaRollershutters to your sitemap to test it manually.</p>
<p>Example with Squeezebox / Logitech Media Server:</p>
<pre class="lang:sh decode:true">sendHttpGetRequest("http://10.1.0.21:9000/status.html?p0=play&amp;player=da%3Ada%3Ada%3Ada%3Ada%3A10")</pre>
<p>In this case, the MAC address (ID of the player) is &#8220;da:da:da:da:da:10&#8221;. The command tells the certain player to start playing.</p>
<p>&nbsp;</p>
<h3>Send SSH commands</h3>
<p>This can be one way to execute remote commands on Linux machines, e.g. tell your Raspberry Pi, OpenELEC / LibreELEC / Kodi Mediacenter to power up (see also <a href="https://www.dxsdata.com/2015/02/openelec-script-for-controlling-tvs-and-displays-with-and-without-cec-with-and-without-suspend-feature/">here</a>).</p>
<p>You can either configure SSH to accept password-less logins (certificates), or the slightly more convenient way would be to install apt-package &#8220;sshpass&#8221;.</p>
<p>First, connect Putty to your OpenHAB 2 server (in my case Ubuntu 16).</p>
<p>Double-check if the command or script you want to run remotely can be executed by the local openhab user, i.e. check if it has the correct permissions. To test the behavior, run a test command like</p>
<pre class="lang:sh decode:true">ssh root@yourRemoteIp reboot</pre>
<p>SSH will ask if it should save the connection hash (important: choose Yes), and then run the reboot command after you have entered the password.</p>
<p>If this works, try the same using sshpass:</p>
<pre class="lang:sh decode:true">sshpass -p yourpassword ssh root@yourRemoteIp reboot</pre>
<p>The reboot command should work immediately on the remote machine.</p>
<p>So to integrate this process into OpenHAB and therefore combine it with Alexa, create a simple Switch like in the HTTP example above and create a rule, e.g.:</p>
<pre class="lang:sh decode:true">rule "Alexa: TV on/off"
        when
                Item AlexaTv received command
        then
                executeCommandLine("sshpass -p libreelec ssh root@10.1.0.91 /storage/.kodi/userdata/onOffHelper.sh &amp;")
        end</pre>
<p>Be careful if you have to use quotation marks within your SSH command. You can use e.g. &#8220;@@&#8221;. For more details, have a look at the <a href="http://docs.openhab.org/configuration/index.html">OH configuration documents</a>.[:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2017/03/amazon-echo-dot-alexa-with-openhab-2-controlling-squeezebox-knx-send-http-and-ssh-commands/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[:de]DPT5/EIS10 2-Byte Hex Gleitkommawert mit PHP konvertieren[:en]Convert DPT5/EIS10 2-byte octal value with PHP[:]</title>
		<link>https://www.dxsdata.com/2016/12/convert-dpt5eis10-2-byte-octal-value-with-php/</link>
					<comments>https://www.dxsdata.com/2016/12/convert-dpt5eis10-2-byte-octal-value-with-php/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 07 Dec 2016 14:57:18 +0000</pubDate>
				<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[PHP]]></category>
		<guid isPermaLink="false">http://www.dxsdata.com/?p=1366</guid>

					<description><![CDATA[[:en]&#160; Using a KNX server like eibd with PHP in combination, you might come to a point where you want to convert the DPT/EIS encoded telegram values to decimal format. For some data types, it works by simply using PHP hexbin(), but it does not for 2-byte floating point values. In many forum threads the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:en]&nbsp;</p>
<p>Using a KNX server like eibd with PHP in combination, you might come to a point where you want to convert the DPT/EIS encoded telegram values to decimal format.</p>
<p>For some data types, it works by simply using PHP hexbin(), but it does not for 2-byte floating point values.</p>
<p>In many forum threads the following sample is used:<br />
<del></del></p>
<pre class="lang:php decode:true ">
 $first_byte = decbin(hexdec(substr($value, 0, 2)));
 $second_byte = decbin(hexdec(substr($value, 2, 2)));

 while (strlen($first_byte) != 8) {
   $first_byte= "0".$first_byte;
 }

 while (strlen($second_byte) != 8) {
   $second_byte= "0".$second_byte;
 }

 $tmpdata = $first_byte.$second_byte;
 $eib_base_value=bindec(substr($tmpdata,5,15));
 $eib_exponent=bindec(substr($tmpdata,1,4));
 return (0.01*$eib_base_value)*pow(2,$eib_exponent);</pre>
<p>&nbsp;</p>
<p>&nbsp;<br />
BUT it converts negative values wrong! This can lead to e.g. wrong temperature values which might affect the heating control.</p>
<p>Use this snippet instead:</p>
<pre class="lang:php decode:true ">$intValue = hexdec($value);
$floatValue = ($intValue &amp; 0x07ff);

if (($intValue &amp; 0x08000) != 0)
{
  $floatValue = $floatValue | 0xfffffffffffff800;
  $floatValue = $floatValue *-1;
}

$floatValue = $floatValue &lt;&lt; (($intValue &amp; 0x07800) &gt;&gt; 11);
            
if (($intValue &amp; 0x08000) != 0)
{
  $floatValue = $floatValue * -1;
}

return $floatValue / 100;</pre>
<p><a href="https://www.gedankengut.de/eis5-dtp9-umrechnung-von-eib-knx-negativen-minustemperaturen-mit-php/">Reference</a>[:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2016/12/convert-dpt5eis10-2-byte-octal-value-with-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[:de]IP Intercom Doorbell App v2.0 veröffentlicht[:en]IP Intercom Doorbell App v2.0 published[:]</title>
		<link>https://www.dxsdata.com/2016/11/ip-intercom-doorbell-app-v2-0-veroffentlicht/</link>
					<comments>https://www.dxsdata.com/2016/11/ip-intercom-doorbell-app-v2-0-veroffentlicht/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 28 Nov 2016 12:34:53 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">http://www.dxsdata.com/?p=1349</guid>

					<description><![CDATA[[:en]Today we released DXSdata Intercom Doorbell v2.0 for Android. Main changes: Video and Audio stream support Several bugfixes Alternative video renderer option Layout optimization Notifications Get it![:]]]></description>
										<content:encoded><![CDATA[<p>[:en]Today we released <a href="https://www.dxsdata.com/products/ip-intercom-doorbell-app/">DXSdata Intercom Doorbell v2.0 for Android</a>.</p>
<p>Main changes:</p>
<ul>
<li class="recent-change">Video and Audio stream support</li>
<li class="recent-change">Several bugfixes</li>
<li class="recent-change">Alternative video renderer option</li>
<li class="recent-change">Layout optimization</li>
<li class="recent-change">Notifications</li>
</ul>
<p><a href="https://play.google.com/store/apps/details?id=com.dxsdata.ipintercomdoorbell">Get it</a>![:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2016/11/ip-intercom-doorbell-app-v2-0-veroffentlicht/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[:de]Bipolaren 4-PIN Schrittmotor mit Raspberry Pi und Motortreiber steuern[:en]Controlling a 4-Pin bipolar stepper motor with Raspberry Pi and motor shield[:]</title>
		<link>https://www.dxsdata.com/2016/11/controlling-a-4-pin-bipolar-stepper-motor-with-raspberry-pi-and-motor-shield/</link>
					<comments>https://www.dxsdata.com/2016/11/controlling-a-4-pin-bipolar-stepper-motor-with-raspberry-pi-and-motor-shield/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 14 Nov 2016 15:27:37 +0000</pubDate>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Python]]></category>
		<guid isPermaLink="false">http://www.dxsdata.com/?p=1293</guid>

					<description><![CDATA[[:en]This tutorial gives you a quick and simple idea how to control a stepper motor via Raspberry Pi and a Python script. Parts Raspberry Pi 3 Deek-Robot Stepper Motor Shield v1 (includes an L293D motor driver) Nema 17 stepper motor, Type 42HS34-1334-04LA (4-pin, bipolar) Connection between motor and shield Red: A- Green: A+ Yellow: B- [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:en]This tutorial gives you a quick and simple idea how to control a stepper motor via Raspberry Pi and a Python script.</p>
<h3>Parts</h3>
<ul>
<li><a href="https://www.raspberrypi.org/">Raspberry Pi 3</a></li>
<li><a href="http://www.deek-robot.com/productshow.asp?id=17&amp;small=4">Deek-Robot Stepper Motor Shield v1 </a>(includes an L293D motor driver)</li>
<li><a href="https://www.aliexpress.com/item/3D-printer-linear-stepper-motor-42mm-NEMA17-screw-rod-stepper-motor-Tr8-pitch2mm-lead-screw-linear/32550028445.html">Nema 17 stepper motor, Type </a><span style="font-family: Arial;">42HS34-1334-04LA (4-pin, bipolar)</span></li>
</ul>
<h3>Connection between motor and shield</h3>
<ul>
<li>Red: A-</li>
<li>Green: A+</li>
<li>Yellow: B-</li>
<li>Blue: B+</li>
</ul>
<p>Red+Green and Yellow+Blue are one phase each, in this case (4-pin bipolar motor) it does not matter if you swap Red with Green or Yellow with Blue.</p>
<p>&nbsp;</p>
<h3>Connection between shield and RPi</h3>
<ul>
<li>5V+ (VCC): Pin 2</li>
<li>GND: Pin 6</li>
<li>IN1: Pin 12</li>
<li>IN2: Pin 16</li>
<li>IN3: Pin 18</li>
<li>IN4: Pin 22</li>
<li>VIN: <del>Pin 4</del> (not needed; or separate power source)</li>
<li>GND (near VIN): <del>Pin 10</del> (not needed; or separate power source)</li>
</ul>
<p>For INx, you can of course choose other GPIO ports on your RPi, but you have to fit the script.</p>
<h3>Python Script</h3>
<p>&nbsp;</p>
<pre class="lang:python decode:true">import RPi.GPIO as GPIO
import time

# Variables

delay = 0.0055
steps = 500

GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)

# Enable pins for IN1-4 to control step sequence

coil_A_1_pin = 18
coil_A_2_pin = 23
coil_B_1_pin = 24
coil_B_2_pin = 25

# Set pin states

GPIO.setup(coil_A_1_pin, GPIO.OUT)
GPIO.setup(coil_A_2_pin, GPIO.OUT)
GPIO.setup(coil_B_1_pin, GPIO.OUT)
GPIO.setup(coil_B_2_pin, GPIO.OUT)


# Function for step sequence

def setStep(w1, w2, w3, w4):
  GPIO.output(coil_A_1_pin, w1)
  GPIO.output(coil_A_2_pin, w2)
  GPIO.output(coil_B_1_pin, w3)
  GPIO.output(coil_B_2_pin, w4)

# loop through step sequence based on number of steps

for i in range(0, steps):
    setStep(1,0,1,0)
    time.sleep(delay)
    setStep(0,1,1,0)
    time.sleep(delay)
    setStep(0,1,0,1)
    time.sleep(delay)
    setStep(1,0,0,1)
    time.sleep(delay)

# Reverse previous step sequence to reverse motor direction

for i in range(0, steps):
    setStep(1,0,0,1)
    time.sleep(delay)
    setStep(0,1,0,1)
    time.sleep(delay)
    setStep(0,1,1,0)
    time.sleep(delay)
    setStep(1,0,1,0)
    time.sleep(delay)
</pre>
<h3>Pictures</h3>
<h3><a href="https://www.dxsdata.com/wp-content/uploads/2016/11/20161114_155915.jpg" rel="attachment wp-att-1294"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1294" src="https://www.dxsdata.com/wp-content/uploads/2016/11/20161114_155915-300x169.jpg" alt="raspberry pi with stepper motor and shield 2" width="300" height="169" /></a></h3>
<h3><a href="https://www.dxsdata.com/wp-content/uploads/2016/11/20161114_155839.jpg" rel="attachment wp-att-1295"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1295" src="https://www.dxsdata.com/wp-content/uploads/2016/11/20161114_155839-300x169.jpg" alt="raspberry pi with stepper motor and shield 1" width="300" height="169" /></a></h3>
<p>&nbsp;</p>
<h3>Important</h3>
<p>In general, I highly recommend to only power the shield (especially the motor) when it is needed, not all the time. The motor takes about 0,5A even when idle, and the L293D chip gets quite hot.</p>
<p>So use a switch etc. for the power line, or maybe use <a href="http://electronics.stackexchange.com/questions/108686/what-h-bridge-drivers-are-preferred-for-applications-controlling-a-low-voltage-m">another driver chip</a>.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>References:</p>
<p>https://www.raspberrypi.org/forums/viewtopic.php?f=49&#038;t=55580</p>
<p>http://www.elektronx.de/tutorials/schrittmotorsteuerung-mit-dem-raspberry-pi/</p>
<p>&nbsp;[:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2016/11/controlling-a-4-pin-bipolar-stepper-motor-with-raspberry-pi-and-motor-shield/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>[:de]Gardena Sileno-Reifen optimieren[:en]Optimizing Gardena Sileno tyres[:]</title>
		<link>https://www.dxsdata.com/2016/09/optimizing-gardena-sileno-tyres/</link>
					<comments>https://www.dxsdata.com/2016/09/optimizing-gardena-sileno-tyres/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 05 Sep 2016 17:33:39 +0000</pubDate>
				<category><![CDATA[Home Automation]]></category>
		<guid isPermaLink="false">http://www.dxsdata.com/?p=1209</guid>

					<description><![CDATA[[:de]Modell: Gardena smart Sileno R100LiC Besonders bei etwas extremeren Böschungen rutscht der Mähroboter möglicherweise stark an einzelnen Stellen, was in Folge die Situation immer weiter verschlimmert. Rutscht der Sileno weg, kommt es oft vor, dass er rückwärts versucht wieder nach oben zu fahren, was meist kontraproduktiv ist. Zurzeit gibt es aber kein Firmware-Update, welches dieses [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:de]Modell: Gardena smart Sileno R100LiC</p>
<p>Besonders bei etwas extremeren Böschungen rutscht der Mähroboter möglicherweise stark an einzelnen Stellen, was in Folge die Situation immer weiter verschlimmert.</p>
<p>Rutscht der Sileno weg, kommt es oft vor, dass er rückwärts versucht wieder nach oben zu fahren, was meist kontraproduktiv ist. Zurzeit gibt es aber kein Firmware-Update, welches dieses Verhalten etwas eindämmen könnte.</p>
<p>Laut Gardena _sollte_ z.B. <a href="http://automower-fachhandel.de/Automower-Zubehoer/Automower-Offroad-Gelaende-Kit-310-315.html">dieser Offroad Kit</a> passen (wurde vom Servicecenter anfangs verneint, später doch bestätigt).</p>
<p>Wer davon nicht unbedingt überzeugt ist, kann auch versuchen die Reifen etwas zu modifizieren.</p>
<p>Da sie innen hohl sind, bieten sich einige Möglichkeiten an:</p>
<ul>
<li>Fahrradreifen, wie z.B. auch <a href="http://www.robi2mow.at/index.php?option=com_content&amp;view=article&amp;id=162:ambrogio-antriebsraeder-tuning&amp;catid=59&amp;Itemid=80">hier</a></li>
<li>Schrauben als Spikes</li>
</ul>
<p>Beide Varianten sind sehr effektiv, allerdings sollte man die Spikes nicht zu groß wählen (bei mir sind z.B. Schrauben mit ca. 15mm ideal), um ein &#8220;Hüpfen&#8221; zu vermeiden.</p>
<p>Anleitung:</p>
<ol>
<li>Fahrradreifen nach Wahl, z.B. 26&#8243; mit gutem Profil, vom Händler besorgen &#8211; ein Stück genügt im Normalfall für 3(!) Reifen.</li>
<li>Unnötigen Rand, inklusive integrierter Stahlseile, bis zum Profil wegschneiden, auf beiden Seiten.</li>
<li>Sileno-Räder abmontieren (große Nuss, ca. 24 &#8211; 27 mm), Abdeckungen auf beiden Seiten entfernen.</li>
<li>Reifenprofil vom Sileno-Rad abnehmen bzw. schneiden (ist an einer Stelle großflächig geklebt).</li>
<li>Fahrradreifen ablängen, abschneiden, anschrauben (an 6 &#8211; 8 Stellen).</li>
<li>Bei Bedarf Spikes ergänzen; vom Radinneren nach außen schrauben, Vorbohren empfehlenswert.</li>
<li>Probeweise die Räder anbringen; darauf achten, dass das Fahrradprofil nicht am Chassis scheuert.</li>
<li>Schrauben anziehen, Abdeckungen andrücken.</li>
</ol>
<p>Tipp: Profil zeigt absichtlich in die &#8220;falsche&#8221; Richtung -&gt; Optimierung für Rückwärtsfahrt.</p>
<p>&nbsp;</p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_185847.jpg" rel="attachment wp-att-1210"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1210" src="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_185847-300x169.jpg" alt="20160902_185847" width="300" height="169" /></a> <a href="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_203022.jpg" rel="attachment wp-att-1211"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1211" src="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_203022-300x169.jpg" alt="20160902_203022" width="300" height="169" /></a> <a href="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_204522.jpg" rel="attachment wp-att-1212"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1212" src="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_204522-300x169.jpg" alt="20160902_204522" width="300" height="169" /></a> <a href="https://www.dxsdata.com/wp-content/uploads/2016/09/20160903_075246.jpg" rel="attachment wp-att-1213"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1213" src="https://www.dxsdata.com/wp-content/uploads/2016/09/20160903_075246-300x169.jpg" alt="20160903_075246" width="300" height="169" /></a> <a href="https://www.dxsdata.com/wp-content/uploads/2016/09/20160904_135110.jpg" rel="attachment wp-att-1214"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1214" src="https://www.dxsdata.com/wp-content/uploads/2016/09/20160904_135110-300x169.jpg" alt="20160904_135110" width="300" height="169" /></a> <a href="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_173805.jpg" rel="attachment wp-att-1215"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1215" src="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_173805-300x169.jpg" alt="20160902_173805" width="300" height="169" /></a> <a href="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_174749.jpg" rel="attachment wp-att-1216"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1216" src="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_174749-300x169.jpg" alt="20160902_174749" width="300" height="169" /></a> <a href="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_175149.jpg" rel="attachment wp-att-1217"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1217" src="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_175149-300x169.jpg" alt="20160902_175149" width="300" height="169" /></a> <a href="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_180353.jpg" rel="attachment wp-att-1218"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1218" src="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_180353-300x169.jpg" alt="20160902_180353" width="300" height="169" /></a> <a href="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_181115.jpg" rel="attachment wp-att-1219"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1219" src="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_181115-300x169.jpg" alt="20160902_181115" width="300" height="169" /></a> <a href="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_182022.jpg" rel="attachment wp-att-1220"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1220" src="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_182022-300x169.jpg" alt="20160902_182022" width="300" height="169" /></a> <a href="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_184433.jpg" rel="attachment wp-att-1221"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1221" src="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_184433-300x169.jpg" alt="20160902_184433" width="300" height="169" /></a> <a href="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_184446.jpg" rel="attachment wp-att-1222"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1222" src="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_184446-300x169.jpg" alt="20160902_184446" width="300" height="169" /></a> <a href="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_184455.jpg" rel="attachment wp-att-1223"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1223" src="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_184455-300x169.jpg" alt="20160902_184455" width="300" height="169" /></a> <a href="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_184602.jpg" rel="attachment wp-att-1224"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1224" src="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_184602-300x169.jpg" alt="20160902_184602" width="300" height="169" /></a> <a href="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_185824.jpg" rel="attachment wp-att-1225"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1225" src="https://www.dxsdata.com/wp-content/uploads/2016/09/20160902_185824-300x169.jpg" alt="20160902_185824" width="300" height="169" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;[:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2016/09/optimizing-gardena-sileno-tyres/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>[:de]PHP-Klasse für Gardena Smart System API[:en]PHP Class for Gardena Smart System API[:]</title>
		<link>https://www.dxsdata.com/2016/07/php-class-for-gardena-smart-system-api/</link>
					<comments>https://www.dxsdata.com/2016/07/php-class-for-gardena-smart-system-api/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 30 Jul 2016 09:07:22 +0000</pubDate>
				<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[PHP]]></category>
		<guid isPermaLink="false">http://www.dxsdata.com/?p=1186</guid>

					<description><![CDATA[[:en]Gardena&#8217;s robotic lawn mower &#8220;smart Sileno&#8221; (R100LiC&#8221;) comes with a gateway module which is used for communication between the mower and Gardena servers. Unfortunately, at the moment there is no way to get direct API access to the gateway, so the commands have to be sent out of your LAN, and the gateway forwards the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:en]Gardena&#8217;s robotic lawn mower &#8220;smart Sileno&#8221; (R100LiC&#8221;) comes with a gateway module which is used for communication between the mower and Gardena servers.</p>
<p>Unfortunately, at the moment there is no way to get direct API access to the gateway, so the commands have to be sent out of your LAN, and the gateway forwards the Gardena server command to the mower, etc.</p>
<p>In addition, there is no official web interface yet, but thanks to <a href="http://www.roboter-forum.com/showthread.php?16777-Gardena-Smart-System-Analyse">this post</a>, there are commands you can use to integrate it into your existing home automation system.</p>
<p>For convenience, I created a PHP class for it.</p>
<p>First register a Gardena account, e.g. via Gardena smart system mobile app, and add your gateway and your mower.</p>
<p>Afterwards, you can use the class:</p>
<p>[github-contents username=&#8221;DXSdata&#8221; repository=&#8221;Gardena&#8221; filepath=&#8221;gardena.class.inc.php&#8221; language=&#8221;php&#8221; ]</p>
<p>Example usage:</p>
<p>[github-contents username=&#8221;DXSdata&#8221; repository=&#8221;Gardena&#8221; filepath=&#8221;index.php&#8221; language=&#8221;php&#8221; ]</p>
<p><strong>U</strong><strong>pdate 2017-04-17</strong></p>
<p>I updated the class with Gardena Smart Sensor support. The hardware is not cheap but reliable as I can say so far. If you have e.g. a Gardena Smart Sileno mower and a Smart Sensor, you can use this class to park the mower in its charging station as long as the ground is moist.</p>
<p><strong>Update 2017-04-21</strong></p>
<p><a href="https://github.com/DXSdata/Gardena">Moved project files to Github</a>.</p>
<p>Now also includes Watering Control.</p>
<p>Latest commits:</p>
<p>[github-commits username=&#8221;DXSdata&#8221; repository=&#8221;&#8221; limit=&#8221;3&#8243;][:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2016/07/php-class-for-gardena-smart-system-api/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
	</channel>
</rss>
