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: FourthWorld, heatherlaine, Klaus, kevinmiller

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

Livecode to control smarthome

Post by dspidell » Sun Mar 15, 2026 1:32 am

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 » Fri Apr 24, 2026 10:57 am

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: 10490
Joined: Wed May 06, 2009 2:28 pm

Re: Livecode to control smarthome

Post by dunbarx » Fri Apr 24, 2026 3:10 pm

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

Post Reply