220V low power switch

Posted on
Fri Feb 14, 2020 10:26 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

220V low power switch

I have a pool pump that runs on 220V. In then controller box there is only 220V (110+110 + ground, no neutral).

I need to switch a low power device (10 Watt raspberry pi0w) on/off.
The input for the device voltage can be 110-220V (eg 1amp Apple usb power supply)

In the US there are only 20+++Amp wave switches
.
Any suggestion? May be one of the Wifi switches?

Karl

Posted on
Sat Feb 15, 2020 1:39 am
lalisingh offline
Posts: 166
Joined: Mar 27, 2007

Re: 220V low power switch

Hello,

I am not totally clear on what it is you are trying to switch on/off.

I am guessing it is a raspberry pi. If this is the case here is one suggestion

120vac >> poe injector >> Mikrotik MAP device which feeds the input voltage thru to the output interface (48vdc) >>
48vdc to 5vdc adapter (PoE texas) >> raspberry pi

Control the on/off on the Map output interface. Very reliable. I have a few running for 4 years without a hitch.

I am sure thre are huge gaps in my understanding. :)

[url]https://www.VillageWorker.com[/url]
Extreme data analytics, Sensing, Control integration work.
Indigo • Barix • Kentix • Mobotix • Mikrotik • Apple

Posted on
Sat Feb 15, 2020 2:27 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

220V low power switch

The box is 10 m, way has ONLY 220 v and WiFi and 2 zwave 40 amp 220 switches for pool pump and heater. ... they are BIG. A third would not fit and also costs $$
AND NO 120v!!


I like to be able to power cycle the rpi. — In the house I am using UniFi and Poe

I could do esp + relay but I thought i could buy that pre packaged but without the pre installed spyware also known as Alexa or some China dial Back home stuff

Simply setup WiFi. Then a curl statement to set relay off/on. That’s what I want.
There are Ethernet relay boards that do that. But the WiFi boards all come with fancy apps and cloud storage and Alexa ...

Karl



Sent from my iPhone using Tapatalk

Posted on
Sat Feb 15, 2020 4:32 am
CliveS offline
Posts: 771
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: 220V low power switch

Karl,

I think a Shelly 1 wifi switch will work fine for your needs, 110-265V, 50/60Hz AC, 12V DC, 24 – 48V DC, you can turn off the cloud so then only local wifi and turn on and off from Indigo is just
Code: Select all
# Shelly Turn On

import urllib2
import socket

ShellyIP = "192.168.100.236"
TurnOn    = "/relay/0?turn=on"
TurnOff  = "/relay/0?turn=off"
Toggle   = "/relay/0?turn=toggle"

url_cmd = "http://" + ShellyIP + TurnOn

#url_cmd = "http://" + ShellyIP + TurnOff
#url_cmd = "http://" + ShellyIP + Toggle

indigo.server.log(u"Sending to Shelly at " + ShellyIP)

try:
   response = urllib2.urlopen(url_cmd)
   response.read()
   response.close()

except socket.timeout:
   indigo.server.log(u"Timed out when talking to Shelly at " + ShellyIP)
      
except urllib2.URLError, e:
   if hasattr(e, 'reason'):
      indigo.server.log(u"Error: We failed to find Shelly at " + ShellyIP)
      indigo.server.log("Reason: " + str(e.reason))

   elif hasattr(e, 'code'):
      indigo.server.log(u"Error: The Shelly couldn\'t fulfill the request.")
      indigo.server.log("Error code: " + str(e.code))

else:
   indigo.server.log(u"Sent to Shelly at " + ShellyIP)

But I am sure you can improve on that :)

Shelly 1 info at https://shelly.cloud/shelly1-open-source/

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Sat Feb 15, 2020 4:35 am
Colly offline
Posts: 535
Joined: Jan 16, 2016
Location: Ireland

Re: 220V low power switch

Hi Karl,

You could try one of the Shelly 1 devices, see MQTT forum for more info, they are inexpensive and after a little effort to setup with FlyingDivers plugin they work well.

Update: CliveS bet me to it!

Posted on
Sat Feb 15, 2020 4:39 am
CliveS offline
Posts: 771
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: 220V low power switch


CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Sat Feb 15, 2020 2:24 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: 220V low power switch

yes that looks like it..

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests