Jump to content

sjenkins

Members
  • Posts

    487
  • Joined

  • Last visited

Everything posted by sjenkins

  1. @GTench I put up a new version as there have been some developments for both G3/2 I think I found the bug in the update routine. I also cleaned up the Logger.debug a bit to clear out the noise. thanks again
  2. Well we are up and running! You are right the names are truncated by the AC side of things. What I could do is limit the room text to something smaller so you are more likely to get more of your shade/scene name. A more complicated version would have the shades / scenes nested under rooms. I have never done that so I would suggest we start with A and put B on the todo list. You also could be a bit less verbose in your naming 🤪 Once I get done my meetings I can take a good look at the logs and figure out why you have pretty pictures but nothing moves when you tell it to. Once again, thanks for going on the G2 journey with me. btw: : in parallel I have been working on some other improvements to the discover routine. Basically, from others I am incorporating best practices from other plugins. Because of that the next debug cycle may have a version change unrelated to this debug cycle.
  3. @GTench Thanks for sticking with me & for the logs, they are invaluable. G3 & G2 have different ways of communicating their JSON data. G3 uses a different label for room id, versus shade id, versus scene id while G2 uses 'id' for all of them. I thought I got all the spots where I was referencing them. I didn't. if you are ready for another try I just testing G3 and didn't break anything. You will want to delete and reinstall the plugin to keep it clean.
  4. Not putting out a new version as PowerView G3 is unaffected. Going to work on the PowerView G2 to get it functional with the users who need it ; and unlike me have the G2 boxes. Always open to Bugs or Feature requests.
  5. @GTench so first, your logs were extremely helpful for a few reasons. It allowed me to see what the G2 gives back for data REALLY in the wild as opposed to the api document (not written by HD). There were some differences. The issue which crapped out my program is G2 only sends the position parameters the shade needs. The G3 sends back all of them whether required by the shade or not. You know what they say about assumptions. So this meant more than you would like that to mean for the program. Should make it more solid. I tested G3 and nothing seems broken by my changes. I may eventually need to write a test program. I did not put out a new version, just a bug fix. I would suggest you delete and re-install the plugin. I expect two-steps forward and one-back ; send me the logs ; thanks again for your help.
  6. @GTench thanks so much for giving this a try. I’m on my phone at my daughter’s hockey game right now so I’ll have to get into depth later. But a Quick Look is good news!! it found your controller and verified it was G2 ; it just didn’t dissect the data into shades and scenes like it does on G3. It is likely just a JSON mismatch ; if you don’t mind being my guinnea pig & a bit patient I am sure we can get there. Hard to debug at home without the hardware since I never do anything right the first time. 😜 With your feedback it will be good. btw: startup notice just means it launched and is setting up. That goes away at the first longPoll
  7. Either in the YoLink app in the automation you can add the delays and/or you could write your ISY program to do the same.
  8. new version 0.1.2 incorporates PowerView G2, I don't have one so there may need to be some refinement.
  9. So the big item here is the documentation improvements both before and after @Michel Kohanim was so kind to spotlight my plugin. This is one of those few online communities I have come to enjoy because 'nice people' reside here. Not many of those on the internet these days. Additionally I prettied up the icons. Finally, due to "popular" demand (you know who you are @GTench I broke one of my starting precepts and added functionality for PowerView G2. Events are the main thing you lose here, only updates by polling. Additionally, tilt if it is a feature of your shades, comes through the Primary variable ; let me know if so. All I can say is I have not broken PowerView G3 functionality ; I give it a 1 in 10 chance that it works due to the fact I am writing code based on a non-oem api document, so I need good feedback & Logs. I also found out that PowerView G3 users need to make sure to set up their account and home in the PowerView app. Likely done during dealer installation. While this is a local api it needs that step to enable the gateways by adding a HomeDoc id to the gateway. I added a troubleshooting document accessible from the config file and the readme file on my GitHub to help to identify this. Thanks for those watching, it's been a bit of fun on my side. Stephen VERSION = '0.1.2' """ 0.1.2 DONE change icons to nicer ones DONE docs with screenshots & description for udi spotlight DONE add troubleshooting document DONE add some support for G2 gateways (no gateway push, only polling) add to future version: TODO bugfix & test 0.1.1 DONE tap into gateway events, which allows longPoll update to move from 30s to 60s DONE active scene indications from events DONE shade motion indicator from events DONE shade position update from start, stop, online events DONE remove parameters based on shade capability (primary, secondary, tilt) DONE update readme & config instructions to highlight G3 scope 0.1.0 DONE handle multiple gateways automatically, picking primary & switching if required DONE updated configuration instructions as well as link to the forums past versions: 0.0.9 DONE fix uom for positions(100) & ids(107) DONE more notices clean-up DONE shade naming to include room as scenes DONE remove status based on shade capability (primary, secondary, tilt) 0.0.8: DONE handling of notices individually DONE polling 5s short-poll 30s long-poll DONE status for programs (positions etc) 0.0.7: DONE faster status updates when command is given DONE bug fix DONE re-order of parameters displayed 0.0.6: DONE move shade by specific amounts DONE bug fix scenes not activating 0.0.5: DONE change shortpoll to 30s DONE update shades on shortpoll DONE clear start notice at shortpoll DONE clean up error proofing in get DONE fix updating variables with shortpoll DONE limit device ping to 5s 0.0.4: DONE discover when new gatewayip is entered DONE poll status regularly using shortpoll DONE update required after nodes added to get status DONE notice when gateway get error """
  10. Hi Josh (and perhaps others Good news your pic was perfect & will help me with future users. I had made an assumption that normal set-up was completed in your hunter douglas app. for others, I had Josh goto a browser and enter: http://ipaddress/home for each gateway I will likely add this to the instructions as a 'test if you're ready' step - As shown above, this is truly a V3 gateway hub but it is not your primary. - this is also a V3 gateway hub, and is very likely your primary - Ithe HomeDoc is not something that the user needs to 'have' or edit but is on the gateway if it has been connected with a Hunter Douglas account, and a Home created. ... from the HD Docs: " Note: If the Home does not have a HomeDoc, all /home APIs return statusCode 503/SERVICE_UNAVAILABLE until the Home is correctly configured and a HomeDoc is successfully retrieved from the Cloud" - HomeDoc is created when you run the PowerView App & create an account and then a "Home", this should have been done for you by your installer. Mine was not very tech savvy so I did it for him. - you need to download the HD PowerView app on your phone - If you have never run the app before there is a Setup Wizard which will run out of the box and allow you to create an account and then a home - If you have run the app before and do not have a home created you can go into the More area in the bottom right, which will come up with a screen you can pick Set-up Wizard from. - I would do a restart on the plugin after you complete the HD app process - If you want to check yourself after you complete the app HomeDoc process then enter the http://{ip of the gateway}/home again into your browser, you should receive a JSON text with a whole bunch of data - This is part of the 'normal' set-up when you get the blinds but I can see where some installers didn't complete it. You can still see the blinds on their app if you don't create this link, you just cannot do much with the api - Also I am going to add some diagnostics to the plugin and the above help to my documentation
  11. Feel exactly the same way. I have played around with so many z-wave items and left really unsatisfied. The Insteon are really good at switches. These yolink are great at low speed temp/humidity, leak sensors, and valves. Now I'd like to see them get the local api they have been promising for a while on their web.
  12. @Michel Kohanim could you flush this out a bit? Does this mean it will copy your current system back to the Mme 50G and then after reboot allow you to run the new script with its features. No guarantees in life I know but is this a path for those of us that went in the deep end with the first version to resize our new drive? Sorry, the text seems to be saying this but obviously I would like to be sure. Much appreciated.
  13. Hi Josh, Appreciate you sending the logs, could you verify for me what you put in the configuration? Perhaps a screenshot. Second, maybe a pic of the hub to verify version (not the bottom with your serial numbers) thx.
  14. Love the ability to add a custom icons from url for default & love the ability to configure advanced status' Could we add the ability to add custom icons not just as the default icon but also in the advanced status area? Not as important but as a convenience it would be great to pull icons from local files in addition to url's Thanks @Javi & udi team for all you do!
  15. @paulbates completely different way of solving the issue..... but I use a vpn (wireguard) to get back to my home network from my mac. Tried a vpn with my main router, an Orbi, with clunky success. So instead dropped a cheap wireguard compatible router on my main Orbi and it works like a dream. Can bring up anything an ssh into my servers. I use a SlateAX from GLi net. I actually also travel with a GL-MT3000 as it puts up a much nicer and more secure wifi than hotel based. Just some thoughts, on a cheap way forward.
  16. for the mmc see below link:
  17. this is just opinion without knowledge but if you followed the above posts then the drive is already mounted at /extra I would try that.
  18. Played around a bit with the api. /venting Certainly can get on/off, channels, volume, remote buttons , but I must say the whole token permission thing is a bit off. Getting the tv to not want permission on the first contact each time is an issue (solutions online are not working). As well because there is about 8 billion models/versions of tv's out there, each of them the settings are different. So any plugin would mean settings help/hell. I'll keep knocking away at it because I'm interested for my own uses. Of course will share the results. Right now though as a plugin for a population I predict this as support hell. venting/
  19. Found the api for v2, which may be of use to you in your network resources: https://github.com/sejgit/indigo-powerview/blob/master/PowerView API.md the links and json strings are different as well as how positions are done from v3 Also, as I mentioned above there are no sse streams for events, which means that polling is the only way to get data on scenes and shades. I use polling as a secondary way to get position, scene activation.
  20. cool, I added a label to mine as well (with a bit of help from google) before: root@eisy:~ # gpart show => 40 1953525088 nvd0 GPT (932G) 40 131072 1 efi (64M) 131112 1927282688 2 freebsd-zfs (919G) 1927413800 8388608 3 freebsd-swap (4.0G) 1935802408 17722720 - free - (8.5G) root@eisy:~ # gpart show -l => 40 1953525088 nvd0 GPT (932G) 40 131072 1 efi (64M) 131112 1927282688 2 (null) (919G) 1927413800 8388608 3 swap0 (4.0G) 1935802408 17722720 - free - (8.5G) then: gpart modify -l eisy.nvme -i2 nvd0 after: nvd0p2 modified root@eisy:~ # gpart show -l => 40 1953525088 nvd0 GPT (932G) 40 131072 1 efi (64M) 131112 1927282688 2 eisy.nvme (919G) 1927413800 8388608 3 swap0 (4.0G) 1935802408 17722720 - free - (8.5G) thanks again @Michel Kohanim !!!!
  21. yes the script will need to be changed to a new location but you need to "make" a place for it (see below) first though, did you notice the EXPANDSZ column? your drive has not expanded to use the whole space available on the drive you can fix this with: zpool set autoexpand=on zudi zpool online -e zudi nvd0p2 # note replace nvd0p2 with the name under zudi when you do a zpool status -v here is where you "make" a place to put your VM or whatever. As zfs likes to use the whole space rather than a bunch of gparted (they don't talk to each other well). What I did was create another drivefolder in the pool and mount it in a location I would use. # create drive zfs create zudi/extra # mount it in root zs set mountpoint=/extra zudi/extra # set a quota on this drivefolder if you like zfs set quota=200G zudi/extra # permissions are nice chown admin:admin /extra now you can use /extra (or whatever you call it) as a place for the VM's
  22. Sorry to barrage you Michel, Had to look up BIOS labels & trying to figure out what that does to operations? For those of us who jumped off the ledge and did this, anything in the script which will 'haunt' us later as a change?
  23. make sure you are not "in" the directory on your admin account before you goto sudo -i or it won't let you umount it. Also, for those watching this channel when this script is done your mmcsd0 drive is "gone" if you want to use this internal old slow drive for any storage you can (I did) make it a drive for your use (backup?)... make sure you are in sudu -i zpool create storage /dev/mmcsd0 zpool list chown admin:admin /storage zpool export storage zpool import storage now you have /storage drive of ~50G to play with. May not be of a whole lot of use as you just added a faster 1T drive but I was thinking of backing up the contents of my admin home directory there.
  24. @GTench thanks so much for getting the definitive answer. My installer/dealer was not very tech savvy. I installed the gateways for him. So looks like I got faulty info from him about v2/v3 but it does make sense what you say. Let me take another look at the Indego and HA plugins and see if some basic v2 functionality is possible. Pretty sure the way I do fast updates is only v3 but even if I could do commands would that be of interest to you?
  25. figured out the issue. If you didn't do the partition version originally but did the simple version then this one won't work. I had to do the below (remember this wipes out everything on the storage drive) zpool destroy storage gpart create -s gpt nvd0 after that I could run the script... bash -c "source ~admin/setup_nvme_boot.sh; setup_nvme_boot" For the faint of heart, wait for the packaged version later this week.
×
×
  • Create New...