General Discussion

A place to talk about whatever you want

159 Topics 1.6k Posts
  • MQTT – setup and use

    107
    0 Votes
    107 Posts
    7k Views

    Thanks for the update! I’ve reverted to to a "if it ain’t broke, don’t fix it" approach myself, so haven’t been upgrading the Shelly firmware.

  • su command taking a lot of time

    Unsolved
    4
    0 Votes
    4 Posts
    116 Views

    Ahh that makes sense.

    I would imagine it's something to do with the Synology, so I shall back away.

    C

  • Homer Dashboard - Vera/OpenLuup

    4
    0 Votes
    4 Posts
    571 Views

    Hi @pvklink

    I have another page working, can you post the section on your .yaml file ?

    Also if I recall correctly, the default .config template they give you does much of it for you ?

    I just have the following in the config.yml

    links: - name: "Contribute" icon: "fab fa-github" url: "https://github.com/bastienwirtz/homer" target: "_blank" # optional html a tag target attribute - name: "Wiki" icon: "fas fa-book" url: "https://www.wikipedia.org/" - name: "Homer Github" icon: "fab fa-github" url: "https://github.com/bastienwirtz/homer" # this will link to a second homer page that will load config from additionnal-page.yml and keep default config values as in config.yml file # see url field and assets/additionnal-page.yml.dist used in this example: - name: "another page!" icon: "fas fa-file-alt" url: "#additionnal-page"

    And then I have a second file, stored in the same location called additionnal-page.yml

  • Vera to zwavejs

    Unsolved
    1
    0 Votes
    1 Posts
    158 Views
    No one has replied
  • Logrotate advice

    Solved
    8
    0 Votes
    8 Posts
    214 Views

    Worked perfectly

    C

  • SmartThings Moving to....Lua

    3
    1 Votes
    3 Posts
    270 Views

    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
    330 Views

    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
    317 Views

    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
    746 Views

    @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
    400 Views

    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
    90 Views
    No one has replied
  • 0 Votes
    16 Posts
    398 Views

    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
    971 Views

    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
    535 Views

    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 'Apple is eating our lunch': Google employees admit in lawsuit that the company made it nearly impossible for users to keep their location private

    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
    227 Views

    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
    97 Views
    No one has replied
  • CORE by Oh-La LABS

    4
    1 Votes
    4 Posts
    249 Views

    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.

  • 0 Votes
    6 Posts
    459 Views

    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
    815 Views

    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.

  • 0 Votes
    6 Posts
    234 Views

    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

Recent Topics