![]() Initially, he pushed the Netatmo trigger through IFTTT to send a notification that activated the sprinklers, but it took so long that the cats would have done their business and already left. As such, it was the perfect input device. It detects movement, shines a bright light, and records what it sees it can also distinguish between people, animals, and vehicles. With that in place, it was time to turn his attention to those troublesome cats.ĭavide’s wife had bought him a Netatmo Presence outdoor smart camera as a Christmas gift. “It provides everything I need for good irrigation control such as daily programming, a web GUI, and weather-based prediction,” Davide continues. ![]() Luckily, there is an open platform which allows irrigation systems to be controlled: called OpenSprinkler, it supports the Pi, has its own extension board, and is connected to the web for remote access. ![]() “I certainly didn’t want a closed, self-contained system that wouldn’t interact with other devices.” “I decided to use a Raspberry Pi because I wanted something that would provide APIs and integrate with other Internet of Things devices I have at home,” Davide tells us. The first important thing was automating the system so that it could be used when Davide was away from home or if he forgot to activate it. “I started to place sprinklers in key locations, looking for a way to equally wet the whole garden using trial-and-error and activating them manually,” he says, before realising they could serve a dual cat-chasing purpose. “All the cats in the area were using that small piece of land as their litter and I wondered how I could prevent it from happening in my own garden in the future.”Īs it happens, Davide was rearranging an irrigation system in his garden when he began to consider a solution. “She spent more than a week cleaning her garden of cat-droppings,” he recalls. That happened to Davide Magni’s cousin, who moved into the house next door to him in Italy. This article first appeared in The MagPi 82 and was written by David Crookes But when they’re ‘feline’ in the mood for pooping, there’s a good chance one will paw-se for a short spell in your garden and leave you to clear up the mess. I won't need the SSH plugin, nor RESTask to achive my goal.The internet loves cats and they are indeed very cute. It's a simple solution but sometimes simple solutions are the best. The only downside is that it opens up a browser window, but I can live with that. Firefox has been setup to use my client certificate without asking. I've figured out I can do the same thing now (while not at home using my wifi) by using the Tasker task "Browse URL". While I'm at home I use the Tasker's task "HTTP Get" to switch switches, set variables or whatever. ![]() Also RESTask doesn't seem to allow me to do what I want to do ( Using Tasker to send commands to my Domoticz server securely using X509 authentication from any Internet connection while I'm not at home) The SSH plugin turned out to throw "unknown errors" quite often. I think I've just found the simple solution to the problem. I guess it should be possible to let RESTask submit the command through another web client. If RESTask does not honour that request then I'm afraid you will not be able to use it this way. When using Firefox I can see that request being made by a popup asking me if it is okay to send that info - with the option to remember that decision but obviously during testing you will want to see what happens if you do not allow it to be sent. When the server is configured to accept x.509 client certificates it will request the web client to supply one. Gordonb3 wrote:That seems to be the other way around. Thanks I tried to merge the CA.crt with my client.crt (i put CA.crt first) but I think RASTask actually only loaded the first one. My guess is that it will work if you append the CA.cer content to your client.cer. ![]() Sometimes the client application will simply refuse to use such a certificate and it appears likely that Tasker does this because it has no reference to the CA public key. When using a normal browser you will usually see warning signs popping up if something is wrong with a certificate, which may vary from it being expired, non matching hostname(s) or not being able to verify its origin because the CA public key is missing or expired. The problem in this case may be how the client software (i.e. This is not any different from the manual procedure you are following. Gordonb3 wrote:I don't know OpenHAB, but it seems to me that it includes a tool to generate client certificates using its own CA. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |