Hello! My name is Svetlana, I'm a UX/UI designer working on a design for a smart home app. I want to know about the experience of using any smart home application (be it MiHome, Tuya, Home Assistant, etc.) and your own thoughts. If you have a similar experience and want to help, please write to me in private. Your participation will help me make the product better and understand the needs of real users. I'm looking forward to communicating with you! Thank you.
Hi. So when I had my house build I ran a bunch of stuff, one of which being two pairs of speaker wires to each bedroom and to 4 spots around my living room… Over the years I have used them here and there with different success.. But today they sit in my walls just unused.
I converted all the cat6 or 5e (I don’t remember) over to basically eithernet jacks. The cable coaxial well it’s there but now unused. But I was thinking there has got to be some use for two pairs of speaker wires to each room. Can I make them usb plugs? Not sure so looking for ideas.
Thanks in advance for your thoughts on this.
Kevin
HTTP 400 error with Telegram
-
Hi all. Looking for some guidance as ever
This
luup.inet.wget('https://api.telegram.org/bot1225075966:AAHS5rwhCpOx0hwq3mOnNjtCSKiDeAS6B4/sendMessage?chat_id=@Coalport58&text=House mode is home')
Works fine
This
luup.inet.wget('https://api.telegram.org/bot1225075966:AAHS5rwhCpOx0hwq3mOnNjtCSKiDeAS6B4/sendMessage?chat_id=@Coalport58&text=House mode is Home')
Throws a 400 error:
openLuup.client:: WGET error status: 400
I have munged the bot key to post here, but just changing the 'h' to 'H' breaks it. Any ideas why?
C
-
To other readers, I think CatmanV2 is talking about that changing the word "home" to "Home" in the Telegram message is causing problems?
While this may not be the answer, I would suggest you at least URL encode your message before sending it off:
local function urlEncode(str) if (str) then str = string.gsub (str, "\n", "\r\n") str = string.gsub (str, "([^%w %-%_%.%~])", function (c) return string.format ("%%%02X", string.byte(c)) end) str = string.gsub (str, " ", "+") end return str end -- eg URL encode msg msg = urlEncode(msg)
-