Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

sjenkins

Members
  • Joined

  • Last visited

Everything posted by sjenkins

  1. @jkmcfadden , the id can be almost anything, droplet1, stephen, droplet2, it gets turned into the address of the node with a function to make sure its unique and short enough. The type must be "droplet". The name must be < 30 chars and also can be anything, kitchen, livingroom etc. Let me know if you see behaviour different than this.
  2. @jkmcfadden , Ok!! Enjoy and test the crap out of it. Make a few programs but remember when we goto production those programs will require touching up. Has to do with having different id number to the regular plugin. Can’t think of any improvement path but let me know as you use it.
  3. @jkmcfadden , Do an ISY reboot for me. Since eisy-ui came along this is sometimes required on many plugins Actually if you log onto the local AC it will likely all be there. The logs look healthy.
  4. Hi @jkmcfadden , You installed the regular mqtt plugin. Go to the non-production store and scroll right to the bottom and install mqtt-poly It will be version 0.50.0
  5. For the brave ones out there I have spent a bit of time to do a NON-breaking re-write. Mostly for the sake of making it easier to maintain, add devices, add testing files, and improve self documentation of the program. The devices have been made more standardised in their writing ; no changes to their behaviour . There are three new features, one I stole from another plugin, number of nodes in the controller node, just a sanity check. The second, is the ability to have a default status and or control prefix. Not sure who was asking for it, but I found the request in the logs. I updated the config instructions to include some explanation: - status_prefix: "tele/Wemos32" # any status_topic starting with ~ is replaced - cmd_prefix: "cmnd/Wemos32/power" # any cmd_topic starting with ~ is replaced devices: - id: "WemosA1" name: "Wemos A1" type: "analog" sensor_id: "A1" status_topic: "~/SENSOR" cmd_topic: "~/" Finally, the third is a new device, "droplet" which was requested to handle the Droplet water monitoring device, see the config for instructions. Again, all this is meant to be non-breaking but we won't know until more people than me test it. Download and put this non-production version in a DIFFERENT slot than your production, you can point it to the same YAML config file you use or a new test one. Please do some testing and put some feedback here, it won't go into production until we get a few thumbs up as there have been too many changes to risk peoples automation. Thanks! =========== 0.50.0 DONE refactor Controller/Nodes for Pythonic & commenting DONE add user defined default status_prefix & cmd_prefix DONE add numofnodes DONE add MQDroplet device
  6. ok @jkmcfadden , you can download from the non-production store mqtt-poly version 0.50.0 , its right near the bottom due to being all lower case. Your yaml file will need to have something like this: - id: "droplet_kitchen" type: "droplet" status_topic: "droplet-ABCD" cmd_topic: "droplet-ABCD" # don't forget me, even though we don't use it ! I tested it out, without a device but pushing data through the MQTT & it populated on the ISY just fine. Let me know what you see! ps. @tmorse305 - I just searched back in this forum, if you are still interested you may want to give this a try.
  7. @jkmcfadden , So above I updated the drivers & commands in the above post, found a "health" state which is different than the "server status". Health is connection to the MQTT, which server is connection to the Droplet cloud. By doing both of these it changes how you would set up the device in the yaml file a little bit (makes it simpler): MQTT Configuration Example: --------------------------- In your devices configuration, add a Droplet device with the base topic: - id: "droplet_kitchen" type: "droplet" status_topic: "droplet-ABCD" cmd_topic: "droplet-ABCD" Where ABCD is your Droplet's 4-character identifier. The NodeServer will automatically subscribe to: - droplet-ABCD/state - JSON with server, signal, flow, volume data - droplet-ABCD/health - Plain text "online" or "offline" status NOTE: I will push this to the non-production store later this evening after I get a chance to test it. It is called mqtt-poly, all lower case. You will have to put it in a different slot than the production version if you are using it for anything else; as this beta does not play well with the production version. @TriLife and I are working on transferring ownership of this plugin. @xKing wrote it originally, I took it on when I was using the devices a lot, then TriLife took the lead as his whole house used it. He is moving to different technology & so he asked me to take the lead again, which I am happy to do. During all this I want to make sure we stay stable for those users who depend on it. That is very important. I have done a rewrite of the plugin, including adding this device. I have tested it but need the user group to test before it goes into production. You are testing this as a new device so I just want you to know it may not make it into production for a few weeks.
  8. @jkmcfadden , Understand the desire for "one node to rule them all", and that is the easiest to implement. Thanks for the link to the API, that will help a lot. So right now I would have these drivers & commands: """ UOMs: 2 = boolean 25 = index 35 = liter (L) 130 = Liters per hour (L/h) Note: Flow rate from Droplet is in L/min, so we multiply by 60 to convert to L/h Driver controls: ST: Server Connectivity Status (index: 0=Connected, 1=Connecting, 2=Disconnected) GV0: Signal Quality (index: 0=Initializing, 1=No Signal, 2=Weak Signal, 3=Strong Signal) GV1: Health Status (boolean: 0=Offline, 1=Online) - MQTT connection via LWT WVOL: Water Volume (liters) - point-to-point volume since last update WATERF: Water Flow Rate (L/h) """ drivers = [ {"driver": "ST", "value": 2, "uom": 25, "name": "Server Status"}, {"driver": "GV0", "value": 1, "uom": 25, "name": "Signal Quality"}, {"driver": "GV1", "value": 0, "uom": 2, "name": "Health Status"}, {"driver": "WVOL", "value": 0, "uom": 35, "name": "Volume"}, {"driver": "WATERF", "value": 0, "uom": 130, "name": "Flow Rate"}, ] """ Commands that this node can handle. Should match the 'accepts' section of the nodedef file. Below are receiving commands. DON / DOF will be sending commands """ commands = { "QUERY": query, }
  9. @jkmcfadden , You’ve done what you can here. The mqtt plugin is not really set up as a general purpose mqtt interface, it has specific devices which are pointed to topics that device understands. It’s been rattling around in my brain that some kind of general purpose with fields like you are attempting would be fun to make. So currently what we need to do is make another device specifically for this. On first glance I think you have given us all needed to do this. The question a while back from the other Droplet user didn’t have the data you have provided here to go to the next step. I’m doing this on my phone and am pretty full with meetings today but could likely whip something up in the next few days. The json parameter will be simpler as the plugin parses JSON already just fine. So you would call this the Droplet-AE50 , correct? Also, I will need what the ranges or possible values of the fields are, like what is “not connected” “unconnected” or “low battery” “med battery”. I can collect and store unknown ones for now, but will need them eventually. The reason being is I need to parse them and turn them into an index which ISY uses another index to display. We don’t send the whole text to ISY with plugins.
  10. @bmercier Good enough for me. I will offer, if you have scraps of notes on hints or anything you want to puke out of your brain on the subject, to update the hints docs on the wiki and/or the github. Maybe a link from the developer docs. A while ago @Michel Kohanim asked me to do some docs based on my plugin docs. I failed him on that due to my non-use of vscode. Happy to help with this an let you do the more "high value add" stuff.
  11. You mentioned having many Insteon temp and leak sensors. I had my house covered with them and have moved to YoLink for temp, leak, and water valve control. The LoRa protocol is the main reason and local aspects of leak detection (even with the non-local hub, because of the ability to link locally), are a real seller. In addition getting a read on the Insteon batter sensors was a bit hit and miss ; don't get me wrong loved them as an option, but have moved to YoLink for these kind of devices. Also, have moved to the local hub to satisfy my tinfoil hat. I keep Insteon for switches, tried one YoLink switch for a Florida house & would not use everywhere. Things you don't need instant data but want reliable are the sweet spot for these. YMMV but some thoughts with a > 10yr Insteon and few year YoLinker.
  12. @bmercier , sorry to bug on this one, but as I am looking at my hints across my plugins. I have been using the github docs at: GitHubhints/hint.yaml at master · UniversalDevicesInc/hintsNode Server device node hints specification. Contribute to UniversalDevicesInc/hints development by creating an account on GitHub. but digging a bit I see in the wiki there is a less complete, but labelled 0.2 version: https://wiki.universal-devices.com/Node_Hints_Documentation They are a fair bit different in their specifications. Your 4,8,x,x suggestion would give me wildly different answers depending on which one I use. Is there a third place you are getting this from? I do not see anything in the developers docs which are linked from the main UDI site and eisy-ui.
  13. Dydns works great, part of my plumbing for 15years.
  14. Should be producing control events too. Test out with a scene or program, the button will trigger a program but not always a scene. Why you say? No idea. Feel free to post here any anomaly on a device. I am using them except temp and know they work in the field but maybe there is an edge case.
  15. @bmercier thanks, I was using a different one; I’ll give this one a shot and we will test and report back here for documentation.
  16. So one new device, onOnly, use case when you only want the DON signal, which is often used for motion sensors. Mostly valuable in scenes where you only want it to turn the scene on and never off. I am using it to turn on a light which is turned off by a timer, so it is triggered by a scene which control comes from a door sensor. This filters out the closing of the door. The rest of the updates are back office, part of the modernising of the code. Comments, tests, refactoring. Should make the code easier to maintain by me or someone else if I get hit by the Beer truck. So far my device adds are selfishly those I use. I have been careful not to break those which I don't use. These include the Temperature, Dimmer/Generic. Temperature seems pretty clunky in its present form, I'm open for improvements or for splitting the functionality. For example I know its being used to check upper / lower values. We could split that into a new device and add control limits which trigger DON / DOF, or do some kind of average over time. Or if you are real fancy, send to csv file which can be plucked by the ISY's web page. Just ideas, again, not in my current use case, just saying its not hard to make happen. This is one of the rare plugins which is not just an interface to external hardware, its more about language extension for the ISY. Take a look at the docs please, I want some feedback if its clear with the "hat" of a new user: README & CONFIG Enjoy; try to break it, and let me know what you think! VERSION = "3.1.25" """ 3.1.25 DONE add onOnly device DONE update generic project files DONE Controller comments, refactor checkParams DONE change hints for temperature devices DONE testing added
  17. Plugin developer question. How do you tell ISY and thus Alexa what kind of device your node is. The hints do not seem to be respected but I may not be using the correct ones. Specifically I am trying to tell her that the node is a temperature / thermostat, based on a user request. Let me know if you have any breadcrumbs.
  18. @tazman, Is the value a temperature or just a generic value? If we wrote a device from scratch, what else would it do (nor not)? ex. Would you have alarm limits? If it hit those limits would you have the node send a CMD? Like DON at hight limit, DOF at low. This would mean it could be used in a program or a scene. There are some interesting possibilities in this little platform.
  19. Hi Guy, Not a dumb question at all. So the temp devices have a history before me but I did for a time make use of it ; I think some of the features are a bit depreciated. As you can see there is conversion of F to C or other way and as its called raw. The temp conversion is not as useful as the ISY has that built in now. The raw is really a divide by 10 which can be handled by precision. This is one of the devices I would like to know if there are people using it ; and if its meeting there needs or could be enhanced. So far in my rework of the code I have kept it static, even though there could be improvements. It can be useful if you want to move from or to variables, val or init, on a periodic basis and give a nice display of the temperature. I have had issues with Alexa and device types, not with this but with contactors versus switches versus lights. Can be very frustrating. I do know that if we want to change this I will need to reach out to the guys at UDI and ask how that is done. Not sure if the hints have something to do with this or its something they need to hardwire. I just checked the hints for the temperature devices & they were not set. I set it to a temperature device & pushed to the non-production Store the change, its V3.1.25 and has some other minor changes. You can try that out, I don't have high confidence but would be the easiest path. Let me know. edit: you can install the non-production on top of your production and all will be fine. Then go back later. Not all the plugins will do that pain free.
  20. @hart2hart is correct, was doing a lot of navel gazing for a bit to figure it out. Seems to be solved in eisy-ui v7.1
  21. No worries @BHaus , everyone has been where you are. I am also sure we can get you where you want to go. You and @tlightne are correct, you don't use the AC. Since you installed the plug-in you must be able to get to the poly or eisy-ui menu, which the store was where you installed this plugin from. Go to the Dashboard, and then hit the Details button on the slot you installed the Virtual plugin. At the new menu you will hit the Configuration button. Here you can scroll down and read some documentation which will be real helpful to read. I would suggest starting with the Standard Configuration. Just make a switch. To do this go past all those instructions (really read those) you will find a section called Custom Configuration Parameters hit the button called Add Custom Parameter in key type in 10 in value type in switch now hit the button below called save changes now scroll all the way to the top and hit either Discover or Restart If you go back to the AC you should have a device called '10' which is a switch. READ THE INSTRUCTIONS FOR MORE, come on back here with more questions. have fun!
  22. sjenkins replied to roho's topic in YoLink
    Same, installed the production on top of the renamed non-production v1.5.16 local ; no issues. Have now deleted my cloud Yo-Link, which was in another slot. Had written my programs to handle either local or cloud, now cleaned-up and running off the local. We are in the deep end. Thanks for all your work @Panda88 , Yo-Link devices are now my main Leak, water-valve, temp-humidity, power detection devices. Happy to have them locally based, keeping my tinfoil hat firmly on.
  23. So three new devices, offDelay, onDelay, Toggle as well the ability with the JSON or YAML configuration to set initial default values Take a look at the docs please, I want some feedback if its clear with the "hat" of a new user: README & CONFIG Enjoy; try to break it, and let me know what you think! 3.1.24 DONE configuration based optional override initial default 3.1.23 DONE add onDelay, offDelay switch, update documentation DONE magic number scrub
  24. You are right, about inside the AC & scene triggering. @hart2hart, you are right, I misunderstood the first time. @tazman, glad you like the timers. Sorry, about the new temp default, you are right of course. I will fix that.
  25. @hart2hart, something odd with the Controller adding as a Responder. Only thing I can think off is the profile didn’t take. You may want to reinstall the plugin. And / or reboot the eisy. I can add as responder or controller.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.