Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


LesF

176 posts

Master Geek


#223609 8-Oct-2017 13:10
Send private message

I have a RPi managing jobs on my 3D printer, using Octoprint for the manager and a webcam for checking that it hasn't messed up.

 

When a job finishes I can tell the app to disconnect from the printer, which drops the USB connection and hopefully always leaves it with heaters turned off, but I would also like to be able to switch off the main power supply to the printer.

 

I have looked at some home automation power plugs which have a wifi remote control, are any of these able to be controlled via a RasberryPi running Linux?

 

What safe and reliable options would you recommend?

 

 


Filter this topic showing only the reply marked as answer Create new topic
Ge0rge
1715 posts

Uber Geek

Trusted

  #1879367 8-Oct-2017 13:31
Send private message

If you're telling the app manually (ie it's not doing it automatically at the end of the print run) to disconnect, perhaps a WeMo switch might be an option? then, after you've told the RPi to disconnet, use the WeMo app to turn the switch off as well.

 
 
 

Learn cloud, mobile, security, data and web technologies with Pluralsight (affiliate link).
LesF

176 posts

Master Geek


  #1879382 8-Oct-2017 13:49
Send private message

Cool, there is a command-line tool for that NPMJS belkin-wemo-command-line-tools

 

I would like to make this part of a web interface, so that I can leave a large print job running when I go out.  Also making a camera mount with pan/tilt controls using Arduino gear, which will be the main focus of that web interface (ooh a pun).

 

 

 

 


frankv
5583 posts

Uber Geek

Lifetime subscriber

  #1879530 8-Oct-2017 21:26
Send private message

I have the 12V supply to my 3D printer go via a RPi-controlled relay board. The relays are good for 10A, so I use one relay for the heated bed supply and another for the printer (and a third to turn LED lighs on/off). These relays are able to handle 250V AC, so you could do that too. However, I'm wary of working with mains, just because it's legal to play with 10A@12VDC, but not 0.5A@230VAC, so it doesn't destroy your insurance cover.

 

I'm sure you could control a Wemo (or similar) from a RPi. With a bit of luck, you should be able to Google protocols and maybe even find a RPi app that does it for you. I've reverse-engineered some Wifi-controlled LED controllers by using Wireshark to capture how a supplied phone app talked to the device. Simple UDP one-way messaging.




Tinkerisk
3074 posts

Uber Geek


  #1879571 8-Oct-2017 23:50

LesF:

 

 

 

What safe and reliable options would you recommend?

 

 

 

I'm using 'fhem' on a RPi3. You can integrate nearly everything (regarding function AND of the shelf systems) - already existing and even new (i.e. Ikea, Hue, Heater Systems, Audio, TV, ...) stuff to it ... and: it's open source.

 

It mostly uses commercial 868MHz, 433MHz or even wired components with their relevant protocols - IP as well (I'm not familiar with your allowed frequency ranges).

 

If you don't fear CLI and some kind of initial familarization effort it's perfect for you and expandable ... https://fhem.de/

 

Edit: I forgot to mention 'Alexa', if you Claim to have that 'women' in your house as well ... ;-)

 

Have fun!





- NET: FTTH, OPNsense, 10G backbone, GWN APs, ipPBX
- SRV: HA server cluster, 0.1PB storage capacity on premise
- IoT:   thread, zigbee, tasmota, BidCoS, LoRa, WX suite, IR
- 3D:    two 3D printers, 3D scanner, CNC router, laser cutter


lchiu7
6185 posts

Uber Geek

Trusted

  #1880503 10-Oct-2017 17:48
Send private message

Probably not quite what you want but I control electrical outlets using plugin wall modules from Dlink and Insteon via Alexa (and Google Home) to a RPi running OpenHAB and HABridge.





Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/rooms/32019730  Mention GZ to get a 10% discount

 

System One:  PS3 SuperSlim, NPVR and Plex Server running on Intel NUC (C2D) (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Odroid C2 running Kodi and Plex, Panasonic 60" 3D plasma, Samsung Q80 Atmos soundbar. Google Chromecast, Google Chromecast TV

System Two: Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen, Denon AVRS730H 7.2 Channel Dolby Atmos/DTS-X AV Receiver, Samsung 4K player, Google Chromecast, Odroid C2 running Kodi and Plex

 

 


chimera
448 posts

Ultimate Geek


  #1881984 11-Oct-2017 15:19
Send private message

Sonoff is your best bet. They rock.

 

https://www.banggood.com/DIY-Wi-Fi-Wireless-Switch-For-Smart-Home-With-ABS-Shell-p-1019971.html

 

+ hack to this firmware...

 

https://github.com/arendst/Sonoff-Tasmota/wiki

 

then easily control via wifi

 

 





 

 


Filter this topic showing only the reply marked as answer Create new topic





News and reviews »

New Air Traffic Management Platform and Resilient Buildings a Milestone for Airways
Posted 6-Dec-2023 05:00


Logitech G Launches New Flagship Console Wireless Gaming Headset Astro A50 X
Posted 5-Dec-2023 21:00


NordVPN Helps Users Protect Themselves From Vulnerable Apps
Posted 5-Dec-2023 14:27


First-of-its-Kind Flight Trials Integrate Uncrewed Aircraft Into Controlled Airspace
Posted 5-Dec-2023 13:59


Prodigi Technology Services Announces Strategic Acquisition of Conex
Posted 4-Dec-2023 09:33


Samsung Announces Galaxy AI
Posted 28-Nov-2023 14:48


Epson Launches EH-LS650 Ultra Short Throw Smart Streaming Laser Projector
Posted 28-Nov-2023 14:38


Fitbit Charge 6 Review 
Posted 27-Nov-2023 16:21


Cisco Launches New Research Highlighting Gap in Preparedness for AI
Posted 23-Nov-2023 15:50


Seagate Takes Block Storage System to New Heights Reaching 2.5 PB
Posted 23-Nov-2023 15:45


Seagate Nytro 4350 NVMe SSD Delivers Consistent Application Performance and High QoS to Data Centers
Posted 23-Nov-2023 15:38


Amazon Fire TV Stick 4k Max (2nd Generation) Review
Posted 14-Nov-2023 16:17


Over half of New Zealand adults surveyed concerned about AI shopping scams
Posted 3-Nov-2023 10:42


Super Mario Bros. Wonder Launches on Nintendo Switch
Posted 24-Oct-2023 10:56


Google Releases Nest WiFi Pro in New Zealand
Posted 24-Oct-2023 10:18









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.







MyHeritage