Skip to content

General Discussion

A place to talk about whatever you want

174 Topics 1.6k Posts
  • SmartThings Moving to....Lua

    3
    1 Votes
    3 Posts
    325 Views
    therealdbT

    I think lua drivers for devices is a win-win situation, applied to a store to easily distribute them. And local APIs are coming too. It seems they’re doing the opposite of eZlo here…

  • Anyone else with Alexa / HA Bridge oddity

    Solved
    5
    0 Votes
    5 Posts
    402 Views
    CatmanV2C

    Or not.

    Fixed. I had to change my Amazon password the other day when I was renewing my cookie. Reset the password in the Alexa app and all seems good. Thanks for the pointer.

    C

  • Universal Remote Control

    Unsolved
    11
    0 Votes
    11 Posts
    469 Views
    CatmanV2C

    I'm not aware of being able to get anything from Logitech. One of the things I hated about it was the totally un-necessary cloud based set up. What would I need for the IR transmitter? I guess the Broadlink and some kind of blaster?

    Thanks!

    C

  • 0 Votes
    18 Posts
    1k Views
    propheadP

    @parkerc sounds like a permissions issue. Debug on command line before trying to script. I would also avoid use of the public access to snmp as it’s a potential security issue. I always setup private domain the proceedure differs by manufacturers. You can use snmpwalk for debugging then move to snmpget once you’re ready to drill down. Good luck.

  • Advances made in Presence Detection?

    12
    1 Votes
    12 Posts
    575 Views
    Black CatB

    OK, the price differences are because of the different systems that they can be used with.
    The E276 is for Dali - that is a very professional lighting system. I agree, I would just wave my hands about however for installations in large buildings it's a very clever way to control lighting intensity - Building Management Systems are a very different animal.
    E79 for Wifi or Zigbee isn't a deal breaker and in fact can be a a very clever way of light control in a Smart House without the complication of additional systems.
    Looking forward to unwrapping the box when it arrives....watch this space.

  • Semantics

    1
    1 Votes
    1 Posts
    109 Views
    No one has replied
  • Ways to identify and calculate energy usage (watts) ?

    16
    0 Votes
    16 Posts
    613 Views
    LibraSunL

    The new smart meters installed across many U.S. municipalities derive actual usage in real time (whether you believe they are accurate or not -- this is a troublesome source of debate among many smart people). Some utility companies offer a companion "reader", which wirelessly displays your home's current demand, by minute, hour, day, month, total, etc.

    That's about as close as I've ever come to instant readings. The rest, as you rightly point out, is likely folly.

  • Alexa TTS is sloooooooow

    35
    0 Votes
    35 Posts
    2k Views
    rafale77R

    Glad to hear! I am finding it quite bold that they are pushing this enabled this by default. Also it is not quite ready yet as they will be pushing the firmware updates. Just wanted to make sure you are aware.

  • Security exposure with internet connected homes

    16
    2 Votes
    16 Posts
    794 Views
    rafale77R

    Could be a bizarre follow up to a post I made on another thread but it may be more related to this topic so I am posting here. Oddly things are unraveling... It is confirming my own observations that Android devices seem to send a lot of data, a lot more than iOS devices even when you don't them to. This is odd because of how hit and miss geofence on android has been yet I am observing that they update Google about where your device is a lot more frequently and with a lot more "details" than iOS devices do.

    'Apple is eating our lunch': Google employees admit in lawsuit that the company made it nearly impossible for users to keep their location private | Business Insider India 'Apple is eating our lunch': Google employees admit in lawsuit that the company made it nearly impossible for users to keep their location private | Business Insider India

    Google misled phone makers into hiding privacy settings users liked in order to collect more location data, according to newly unredacted documents.

  • Alexa TTS troubleshooting

    6
    0 Votes
    6 Posts
    310 Views
    LibraSunL

    I'm back to testing Vera Alexa (now rev. 0.97) and thus far no improvement. 99% silence despite being correctly configured.
    Here's a data point to mull over:

    luup.call_action("urn:bochicchio-com:serviceId:VeraAlexa1","RunCommand",{Command='-e weather -d "Living Room"'}, 366)

    yields this LatestResponse on Vera:

    sending cmd:weather to dev:Living Room type:A15ERDAKK5HQQG serial:eb48978706f5459f890ef0ec5aa9fce9 customerid:A3SL3Z0HELH3YG

    and this in Vera's LuaUPnP Log (among other lines):

    Device_Variable::m_szValue_set device: 366 service: urn:bochicchio-com:serviceId:VeraAlexa1 variable: LatestResponse was: ERROR: unknown option weather /storage/alexa/alexa_remote_control.sh [-d <device>|ALL] .......
  • Arduino to make a weather station

    1
    5 Votes
    1 Posts
    126 Views
    No one has replied
  • CORE by Oh-La LABS

    4
    1 Votes
    4 Posts
    331 Views
    M

    This is also how the Dutch Homey (https://homey.app/en-us/) started. It took them a good three years to get to a 'good' system. If Ezlo falls through, it is my backup plan.

  • How do you post images on this forum from a smart device?

    6
    0 Votes
    6 Posts
    532 Views
    LibraSunL

    That's right. When you begin a new topic you don't get any formatting tools for some reason. That's why I always start with a basic introduction paragraph and then do the meat and potatoes in the subsequent replies.

  • New Ezlo Web GUI now in "beta"

    21
    0 Votes
    21 Posts
    1k Views
    N

    Funny timing. SmartThings opened up their Beta portal just a couple days ago as well. It's been limited for 2 years to only a handful of users until now.

  • UniFi Energy Report - How can I retrieve the value via http ?

    6
    0 Votes
    6 Posts
    315 Views
    parkercP

    Sorted ! - thanks again @therealdb , I had to break it up over two functions in the end - but it works a treat ! 🙂

    luup.register_handler("rununfiwattagereport","unifi") function UnifiControllerPoE() local unifi_username = "vera" local unifi_password = "vera" local unifi_controller_ip = "192.168.102.207" local unifi_controller_port = "8443" local cookie = "/tmp/unifi_cookie_lua" -- Temp cookie file local tempfilename = "/tmp/UnifiController.tmp" -- Temp JSON output file local device = 'api/s/default/stat/device' local f = io.popen("stat -c %Y " .. tempfilename) local last_modified = f:read() --if (os.difftime (os.time(), last_modified) > 30) then -- URL for logging in, query and logging out url_login = 'curl --cookie ' .. cookie .. ' --cookie-jar ' .. cookie .. ' --insecure -H \'Content-Type: application/json\' -X POST -d \'{"password":"' .. unifi_password .. '","username":"' .. unifi_username .. '"}\' https://' .. unifi_controller_ip .. ':' .. unifi_controller_port .. '/api/login' url_open = 'curl --cookie ' .. cookie .. ' --cookie-jar ' .. cookie .. ' --insecure -s -o '..tempfilename..' --data "json={}" https://' .. unifi_controller_ip .. ':' .. unifi_controller_port .. '/' ..device url_logout = 'curl --cookie ' .. cookie .. ' --cookie-jar ' .. cookie .. ' --insecure https://' .. unifi_controller_ip .. ':' .. unifi_controller_port .. '/logout' -- Execute url -- Execute url read_login = os.execute(url_login) read_open = os.execute(url_open) read_logout = os.execute(url_logout) local line local file = io.open(tempfilename, "r") if file then line = file:read("*a") file:close() end return line end function rununfiwattagereport() local readings = {} local total = 0 local json = require "dkjson" local u = json.decode( UnifiControllerPoE() ) --print('\n') for key,value in ipairs( u.data ) do for n, p in ipairs( value.port_table ) do --print('\t'.. tostring(p.port_idx), p.poe_enable, tonumber(p.poe_power)) -- print(p.port_idx) table.insert( readings, { value.name, tonumber(p.poe_power)}) -- populate readings table end end for _, reading in ipairs(readings) do local Variable = reading[1] local Value = reading[2] or 0 total = total + Value if Value ~= 0 then --print(Variable.. " - ".. Value, total) end end print("Total watts = " ..total) local html = "<html><head>" .. "</head>" .. "<body>" .. "<b>" .. tostring(total) .. '</b>' .. "</body></html>" return html, "text/html" end
  • Caller ID in HA workflow

    8
    0 Votes
    8 Posts
    418 Views
    parkercP

    @librasun said in Caller ID in HA workflow:

    . But you bring up an interesting point, @parkerc ... I've never seen "Lua" among the languages they offer, lol!

    Exactly !, I noticed that too, no one seems to promote Lua

    @librasun said in Caller ID in HA workflow:

    Nice to see you rolling your own. And if it works, perhaps send the company a copy for them to add to their library?

    It took me a while to just get that working, I don’t think those types of companies will want to use my pieced together bits of code 🙂

  • Apple Homepod mini

    62
    0 Votes
    62 Posts
    5k Views
    akbooerA

    My Homepod mini arrived today. Very slick setup using an iPad. Happily discovered the Homebridge running in my Synology Docker, and all the configured devices (including my new Shelly Button 1!)

    The revelation here is that the Homepod solves the remote access issue for openLuup, in that all the devices exposed (via MQTT) to the Homebridge are fully functional.

    Love it! Thanks for the initial recommendation @rafale77 .

  • Recover an ‘assumed bricked’ Vera Secure

    45
    0 Votes
    45 Posts
    4k Views
    parkercP

    Thanks @rafale77

    I’ll admit it feels like a bit of a waste not to be able to make use of it all - but you make a very good point -

    My next challenge then will be getting your nuke-Vera script onto the controller via the usual/external USB port..

  • ubiquiti breach

    3
    0 Votes
    3 Posts
    253 Views
    rafale77R

    As I said, I got exasperated with my unifi system and got rid of it. The wifi products in particular were underwhelming and in spite of some pretty good switches and the pretty interface, overall it was just way too expensive and constraining for the performance it was delivering. The controller was starting to do a lot of things I didn't want it to do and became a hassle. Getting rid of the entire 12 unifi devices was the best thing I did for my network and my WAF since it doubled my wifi bandwidth, saved me a lot of money and freed a lot of my time.

  • Easy way to convert to SSD from SD card on Pi with MSR

    9
    0 Votes
    9 Posts
    488 Views
    M

    FYI I got the RPi 4 with ssd up and running and cloned sd card . Thanx to all!

Recent Topics