Livecode to control smarthome

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
dspidell
Posts: 9
Joined: Mon Mar 09, 2020 6:40 pm

Livecode to control smarthome

Post by dspidell »

Hi,
Is it possible to use Livecode to control Google Home devices? I have a pretty simple use case. I am hoping to develop an interactive kiosk app for Windows that can turn a smart outlet on and off. I'm looking at the Kasa Smart Plug KP125M. It is Matter compatible so it should work with the Google Home API or the Smart Device Management API. Is Livecode capable of making calls to either of these?
charleshallock
Posts: 5
Joined: Tue Jul 15, 2025 7:50 am

Re: Livecode to control smarthome

Post by charleshallock »

Yes, technically — but not directly, and not in the way you’re probably hoping. LiveCode can make HTTP calls, but the Google Home ecosystem is the real constraint here, not LiveCode.
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10510
Joined: Wed May 06, 2009 2:28 pm

Re: Livecode to control smarthome

Post by dunbarx »

I have built several different factory production machines that use LC to control them. The key was a device that interfaced, via USB, to the computer and via connectors to the real world. That device was easy to use and to program, but is no longer available. The device had both digital and analog inputs along with digital and analog outputs, as well as PWM outputs. The gadget supported LC directly, along with a dozen other languages.

But I believe that Arduino and Raspberry Pi can be used to "talk" to the outside world. Those would not be as convenient to use, since they lack the physical gadgetry to simply interconnect wires, but that should not matter overall.

Others will know more about this than I. I used only those defunct gadgets.

Craig
camdenriley
Posts: 1
Joined: Thu Jul 30, 2026 11:03 am
Contact:

Re: Livecode to control smarthome

Post by camdenriley »

What are the advantages and disadvantages of using Arduino or Raspberry Pi compared to the now-defunct interfacing device for controlling factory production machines with both digital and analog inputs/outputs?
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10510
Joined: Wed May 06, 2009 2:28 pm

Re: Livecode to control smarthome

Post by dunbarx »

May I assume that, by virtue of the prose, this is (you are) a bot?

Craig
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10431
Joined: Fri Feb 19, 2010 10:17 am

Re: Livecode to control smarthome

Post by richmond62 »

Not sure, but the phraseology seems fairly formulaic.
Post Reply