Jump to content

pjjameso

Members
  • Posts

    338
  • Joined

  • Last visited

Everything posted by pjjameso

  1. Would like to have an if statement as such; IF $sAQI >= 50 And $sDEQ < $sAQI Then .... Is this possible? Testing indoor Air Quality whereby if indoor is greater than 50 and the outdoor Air Quality is less than the indoor, then turn on ventilator, else do nothing. Currently posting values from IFTTT/Portal
  2. Oh boy! Been reading the documentation…..think I will need to pay someone to create the node server at some point. Probably too old at this point to learn how to write the code. ?
  3. Dang, just read your second paragraph.... so how would one make an api call to a website to retrieve data and then populate state variables? Currently using IFTTT, but the polling is only once per hour, was looking for something a bit more robust.
  4. Just tried your SNI suggestion, no luck so far.
  5. Im sure its my not understanding how the network resources works so seeking some advice. My test curl command works and sends back the correct information as seen below . However when i try and set this up in the network resources all I get is an Request Fail, N/A, what am i doing wrong? Of course my next question will be how do I parse the information returned and populate state variables with the data....? C:\Users\Virtual Reality>curl -v https://api.kaiterra.com:443/v1/devices/25afddd1-51d4-4ed5-ac76-39c3c7a5b8eb/top?key=NzIzZDMzNWNiZTNjNDRkOTk? * Trying 3.124.137.111... * TCP_NODELAY set * Connected to api.kaiterra.com (3.124.137.111) port 443 (#0) * schannel: SSL/TLS connection with api.kaiterra.com port 443 (step 1/3) * schannel: checking server certificate revocation * schannel: sending initial handshake data: sending 187 bytes... * schannel: sent initial handshake data: sent 187 bytes * schannel: SSL/TLS connection with api.kaiterra.com port 443 (step 2/3) * schannel: failed to receive handshake, need more data * schannel: SSL/TLS connection with api.kaiterra.com port 443 (step 2/3) * schannel: encrypted data got 2760 * schannel: encrypted data buffer: offset 2760 length 4096 * schannel: encrypted data length: 2658 * schannel: encrypted data buffer: offset 2658 length 4096 * schannel: received incomplete message, need more data * schannel: SSL/TLS connection with api.kaiterra.com port 443 (step 2/3) * schannel: encrypted data got 387 * schannel: encrypted data buffer: offset 3045 length 4096 * schannel: sending next handshake data: sending 93 bytes... * schannel: SSL/TLS connection with api.kaiterra.com port 443 (step 2/3) * schannel: encrypted data got 51 * schannel: encrypted data buffer: offset 51 length 4096 * schannel: SSL/TLS handshake complete * schannel: SSL/TLS connection with api.kaiterra.com port 443 (step 3/3) * schannel: stored credential handle in session cache > GET /v1/devices/25afddd1-51d4-4ed5-ac76-39c3c7a5b8eb/top?key=NzIzZDMzNWNiZTNjNDRkOTk? HTTP/1.1> Host: api.kaiterra.com > User-Agent: curl/7.55.1 > Accept: */* > * schannel: client wants to read 102400 bytes * schannel: encdata_buffer resized 103424 * schannel: encrypted data buffer: offset 0 length 103424 * schannel: encrypted data got 773 * schannel: encrypted data buffer: offset 773 length 103424 * schannel: decrypted data length: 744 * schannel: decrypted data added: 744 * schannel: decrypted data cached: offset 744 length 102400 * schannel: encrypted data buffer: offset 0 length 103424 * schannel: decrypted data buffer: offset 744 length 102400 * schannel: schannel_recv cleanup * schannel: decrypted data returned 744 * schannel: decrypted data buffer: offset 0 length 102400 < HTTP/1.1 200 OK < content-type: application/json; charset=utf-8 < date: Wed, 17 Nov 2021 15:39:06 GMT < content-length: 551 < access-control-allow-origin: https://api.kaiterra.com < vary: Origin < {"id":"25afddd1-51d4-4ed5-ac76-39c3c7a5b8eb","data":[{"param":"rhumid","units":"%","span":60,"points":[{"ts":"2021-11-17T15:38:25Z","value":43.99}]},{"param":"rpm10c","units":"µg/m³","span":60,"points":[{"ts":"2021-11-17T15:38:25Z","value":0}]},{"param":"rpm25c","units":"µg/m³","span":60,"points":[{"ts":"2021-11-17T15:38:25Z","value":0}]},{"param":"rtemp","units":"C","span":60,"points":[{"ts":"2021-11-17T15:38:25Z","value":21.56}]},{"param":"rtvoc","source":"st03","units":"ppb","span":60,"points":[{"ts":"2021-11-17T15:38:25Z","value":78}]}]}* Connection #0 to host api.kaiterra.com left intact
  6. Okay Im an idiot... clicked the wrong box on the portal, should be using IFTTT value vs my set value.
  7. Trying to POST AQI value to ISY Portal but havent been able to figure out why the value is not showing up. The AQI value is returned, 44, and there isnt an error on the POST command but the value is not showing up in the ISY. Have defined the state variable in the portal and set to default 0. What am I missing? Note i have scrubbed the key, of course.... Applet ran Nov 10 - 12:16 PM If Laser Egg Chemical's AQI is updated, then Make a web request Your AQI is currently 44 (November 10, 2021 at 12:15PM). Kaiterra AQI from my device Trigger ran, 12:16 PM CreatedAt November 10, 2021 at 12:15PM Aqi 44 Webhooks Make a web request Action ran, 12:16 PM url https://my.isy.io/api/ifttt/AQI/key/efea33d8-xxxx-xxxx-xxxx- content_type {"label":"text/plain","value":"text/plain"} method {"label":"POST","value":"POST"} body 44 additional_headers (none)
  8. Thank You!
  9. Think the answer is no but thought I would ask the genius bar.... I have a voltage transducer that measures the voltage for both the utility and generator. I use this to send a text if the power goes out to verify the generator turns on. Also gives a lower reading to indicate if it is in exercise mode. The value for 220V is 801 and would like to have it read 220 when all is on spec. Is there a way to do math functions on state variables?
  10. Thank you again Michel Yes, mounted the ISY vertically to no avail.... Thanks for ordering the repeaters, as mentioned you will need two of them to test communication between themselves and other zwave devices. The 3 other other zwave devices in my system are all MIMO2+. Which of course was why it was easy to reset the dongle/ISY several times and try different locations along with/without network heal
  11. I have tried both methods, secured and unsecured with similar results.... meaning not working well at all. Its very strange, when testing signal strength on repeater its showing red meaning poor signal. It does indicate its getting a message as it blinks blue as ISY sends a zwave command. However when I query in the ISY it says cannot reach device.
  12. @Michel Kohanim @Chris Jahn Michel, Im having performance issues regarding range using the Aeotec Range Extender 6 (Gen 5). These devices worked fine with the old zwave card but range is considerably reduced and almost unusable with the new dongle. I think that the neighbors are setup correctly when you basically reset all of your zwave devices (which i have several times) including wiping the zwave dongle and then adding them back one at a time. However if you move the ISY to another location for better coverage and then try to heal the network you get constant assigning neighbor failures. Any chance Chris could order two of these units and validate they talk to each otherand are able to update neighbors correctly?
  13. @Michel Kohanim Well it was a bust for me using the new card. Have 2 Aeotec Range Extender 6s which are able to be added to the network but if i move them more than 6 feet from the ISY there is a very poor signal (signal test built into Extender, RED is poor). Previously had green signal strength 20 feet way for one and on another floor same distance. Have tried both secured and unsecured and no luck with the range. Tried 5.013A firmware without any improvement. Tried excluding, adding (success), heal network (fail for neighbors), and syncing nodes all to no avail. Have reverted to original zwave card and restored and now back to green signal strength and a working basement zwave system. Whole process of testing was about four hours with the adding, heal, syncing, rebooting several times. Hope we can work out the bugs in code. If you have any suggestions for me to try let me know... Thanks
  14. Bingo! Collision is the problem... changed the program as follows and works as expected. One would think ISY would repeat a command automatically if it didnt get a response or acknowledgement from the command sent... Bmst All Off - [ID 0051][Parent 0001] If 'Basement / Stairs / Bsmt Stairs Controller.1' is switched Off Or 'Basement / Exercise / Exercise South.1' is switched Off Then Set 'Basement Bedroom' Off Wait 2 seconds Set 'Basement Bedroom' Off Else - No Actions - (To add one, press 'Action') Thanks again to all for the assistance.
  15. Im thinking a flaw in the software.... The 'B' button does not change status at all after the Controller 1 Off button is pressed. Although the function turns off all other controller 'B' buttons and turns off the switch. As mentioned earlier the strange part is if I run the 'then' statement from the program ALL 'B' buttons turn and switch turn off as expected. Im starting to think since the controller that initiates the program by the pressing of the Controller 1 Off button is the same controller that the 'B' button doesnt respond to maybe its a collision event that the ISY cant respond to... Meaning Controller 1 Off message is sent and the Controller 'B' button cant respond to the program. Make any sense?
  16. Sorry guys for the confusion let me try again..... I have three keypad controllers using the 'B" button and one dimmer as indicated below they are 'Controllers' located in the Basement Bedroom Scene... When any of the keypad 'B" buttons OR the bedroom switch are pressed all 4 devices indicate off meaning 'B' button goes dim on all three kepads and the switch turns the light off. All is working as expected at this point, no issues. All 'B' buttons are extinguished and switch turns off. Also can push the 'Off' or 'On' buttons from the console 'Scene' and all works as expected. Now what I am trying to do with a program is based upon the action on two different keypads 'Basement / Exercise / Exercise South.1' Or 'Basement / Stairs / Bsmt Stairs Controller.1' when switched 'OFF' is to run the program Bmst All Off. Which sets the scene 'Basement Bedroom' to off, which it does but it leaves the 'B' button of the controller that was pressed on while turning the other controllers 'B' button and bedroom switch off. More strange is that if i run the 'then' statement command all works as expected and all 'B's' turn and the switch turns off as expected. Its only when i try and trigger the program from the different keypads that the keypad that triggered the program the 'B' light doesnt turn off. Should mention that I'm running 5.0.12 firmware. Bmst All Off - [ID 0051][Parent 0001] If 'Basement / Exercise / Exercise South.1' is switched Off Or 'Basement / Stairs / Bsmt Stairs Controller.1' is switched Off Then Wait 2 seconds Set 'Basement Bedroom' Off Else - No Actions - (To add one, press 'Action') Any help or thoughts would be appreciated, have tried entering a wait statement prior to setting the scene to off but didnt work....
  17. Hoping you guys can help me figure out what I am doing wrong.... I have a scene called "Basement Bedroom" which has 3 Keypad Controller "B" buttons along with a dimmer switch. All are setup as controllers such that when one of the buttons or switch is pushed they all indicate the status correctly. This is working fine. I also have a program as follows: Bmst All Off - [ID 0051][Parent 0001] If 'Basement / Exercise / Exercise South.1' is switched Off Or 'Basement / Stairs / Bsmt Stairs Controller.1' is switched Off Then Set 'Basement Bedroom' Off Else - No Actions - (To add one, press 'Action') The issue is that depending on which controller I press the Switch.1 "off' the other controller "b" buttons turn off but the controller pressed does not. What even more strange is if i run the "then" statement from the program they all turn off correctly? What am I doing wrong?? Thanks again in advance, appreciate it.
  18. I can control the ISY with simple control 5 and ISY 5 only in simple control’s home bar. Scenes no longer work nor can I can create buttons to control lights. Believe this is a simple control issue and have raised a ticket with them To be honest I’ve given up on simple control and just moved in the last month to harmony elite. Not as eloquent but at least it works everytime and has a higher waf. At the current rate I don’t think simple control will be around much longer, just doesn’t work consistently. And yes I was one of those idiots that bought their hub looking for more stability, Alexa never worked except for executing the first command which would then lock up the hub requiring a reboot. Do miss the TV guide feature though.
  19. Thanks Stu, have it working using two programs as mentioned above. The real issue is that ISY Portal and Alexa Scenes do NOT talk to one another for use in Alexa routines. Hoping the crew at UDI can address the issue.
  20. Using iOS, to control opening and closing of the curtains. Definitely a bug in the ISY Portal/Alexa interface. Have managed a workaround by using two new programs to trigger the scene. One program then statement to open (turn on the scene) one program to close (turn off the scene). In ISY Portal each program is mapped to a Alexa Device\light category with the spoken word of open curtains and close curtains. These show up in the alexa app as 4 yes four devices/icons. A light, and a house with wifi inside. The house icon's description is the program name eg Family Room Curtains Close (program) with a type of Other. The Light icon description is ISY Program address 0040, type light. From all this I am able to create two routines, Alexa, close curtains; Alexa, open curtains as the spoken phrase. The Alexa will action operates on the Light devices. This works each and everytime to open and close the curtains. Have noticed the light indicator on the keypad does not always follow correctly. Will always turn off correctly but not always turn on. Long and short of the above.... Controlling a scene directly using the ISY Portal combined with Routines does not work, period.
  21. Wow that’s exactly what’s happening with me. Set up Alexa as switch in portal. Can get it to close most of the time but open does nothing. Giving up at this point and reverting to turn on (open) and turn off (close) and not telling the wife about it. Unless the wizards at UDI come up with a solution. Thanks for the sanity check.
  22. There has got to be something a miss in the coding between the ISY Portal and the Alexa App. This is what I am experiencing, In the ISY i have a Scene called Family room curtains which contains a keypad button D In the portal i can select the ISY scene (Family room curtains) and map to an Alexa 'scene' category with spoken name 'curtains'. Alexa app will discover spoken name 'curtain' and list in both the scenes and devices categories. In App 'scenes' settings type is correctly identified as Scene with the correct ISY scene address In App 'devices' settings type is set as 'other', and description is correct as Family Room South Curtain I can voice command to turn on the curtains (open) and turn off (close) When I create a routine and select to control scene, no ISY linked scenes are presented, only my harmony scenes. When I try to create a routine and select control device, the ISY curtain device is presented but an "Alert' message box comes up and says 'This device is not currently supported' and will not let me continue. Should add that I have the family room curtain scene used in a program to open and close each day with sunset and sunrise which is working perfectly. Which rules out that part of the equation. Any help most appreciated.
  23. Okay, making progress... deleted skill v3, deleted all devices and scenes. Now scene comes across and is in Alexa scene tab. Of course when I try to create a routine and and select the curtain scene, NONE of the ISY scenes are presented. Although all show up in both the devices tab and scene tab in the Alexa App. Ugh..
  24. Okay, making progress... deleted skill v3, deleted all devices and scenes. Now scene come across and is in scene tab. Of course when I try to create a routine and and select the curtain scene, NONE of the ISY scenes are presented. Although all show up in both the devices tab and scene tab in the Alexa App. Ugh..
  25. Stu, The issue is that alexa will NOT discover the ISY Portal Scene as a scene in the APP. It always discovers it as Only a device. The ISY Portal shows the ISY Category as a Scene and the Alexa Category as a Scene. But the Alexa app will only recognize as a device.
×
×
  • Create New...