Closed Kraeling closed 1 year ago
To the best of my knowledge Shelly doesn’t include the ability to put the Plus 2PM into roller mode in the settings for the device. You might be able to create a script that emulates roller mode but that would require some research, development work, and testing
The description on the website states that there should be a shutter mode.
Accidentally replied to the email notification on this issue instead of doing it here.
You are correct but your terminology confused me. On the Plus 2PM Shelly calls this "Cover" mode; not shutter mode.
I haven't added support for the Open/Close/Stop/GoToPosition commands that are offered in cover mode but I can look to doing that in the future.
I am starting some other changes to the Shelly-Crestron driver so I started to look into this so I could include any required fixes in the update I will be releasing. It appears that the open/close/stop commands are all identical between the original Shelly 2.5 and the Shelly Plus 2PM when controlling a shade. The only question is the positioning commands and status. Unfortunately, I can't test this myself because positioning requires a shade motor be connected to the Shelly Plus 2PM so calibration can be performed. I have a Shelly Plus 2PM for testing but not a shade motor to connect to it.
I'd appreciate it if you could do the following.
1) In the Shelly Comm Manager module in your program change the Startup_Debug_Msg_Output parameter to "Console".
2) Compile and Upload your program
3) Open toolbox and open SimplDebugger along with a Console Window (The console window is required because I've found that SimplDebugger loses print statements generated from S# code. However, these missing messages will show up in a Console window
4) Using SimplDebugger restart your program
5) Once the program has stabilized copy the contents of the text console window to a text editor such as Notepad++.
6) Look for a line in the editor that says "Shelly - Send_Roller_Command - ContentString = {XXXXXXXXX}" where XXXX is going to be the JSON content of the status information passed back by the Shelly Plus 2PM
7) Please post that line here.
Thanks
Upon further research the commands for the Shelly Plus 2PM in cover mode are different. A new version of code will be released in a few weeks that supports the Plus 2PM in cover mode as well as the new Pro Dual Cover/Shutter PM. Thanks
Hi Jbasen Do you have in your roadmap a control of Shelly Pro3EM ? I have a full Crestron+KNX house and I want use Shelly only for EM. But I buyed only Pro3EM.
Can i help you ?
Hi @ftonellotto
An update to support both the Pro3EM and the Pro3EM add-on switch is written. It just hasn't been fully tested. So, I'm not sure if there is anything you could do to help right now. I have another package containing some of the newly announced Shelly products arriving today. Once I have updated the software to support those I'll be releasing a new version of code.
Thanks
Very good Jbasen. If you want send me a code I will can be a beta tester for you. I use shelly only for EM and if i have error isn't important for home. Thanks for your work.
Thanks. The 3EM and the introduction of the Pro EM pretty much required a full re-write of the EM module. That is done now and seems to be working fine. So, it will be released in the near future.
hi Jbasen Sorry for the disturb. can you said me a timing for release the version with the support of Pro3EM ? Some days ? Some week o Some month ?
bye Filippo
Il giorno mer 6 set 2023 alle ore 04:59 jbasen @.***> ha scritto:
Thanks. The 3EM and the introduction of the Pro EM pretty much required a full re-write of the EM module. That is done now and seems to be working fine. So, it will be released in the near future.
— Reply to this email directly, view it on GitHub https://github.com/jbasen/Crestron-Shelly/issues/36#issuecomment-1707582994, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCLTD2FKVI6JEWSSC5D3SYTXY7RIZANCNFSM6AAAAAA2RSZUNA . You are receiving this because you were mentioned.Message ID: @.***>
Hi @ftonellotto ,
I am hoping to have an update out very shortly. I am just waiting on some help from Shelly in testing one device before it is ready. I don't want to hold you up so here is a download link so you can start working with the Pro 3EM. You will just need the comm manager, the EM module, and the Shelly.clz file if you aren't working with other Shelly devices. The link will only be valid for a few days as I need to manage the memory used on my OneDrive.
https://1drv.ms/u/s!AjlldUMTB6AFgoNkPeM6ePRCqD1LeQ?e=qQeBSw
Thanks
Hi @Kraeling ,
I should also add that this version should probably work for you using the Shelly Plus 2PM in cover mode. That has been partially tested but the Pro Dual Cover PM is the device that I am waiting on some assistance from Shelly to test. The one aspect of the Shelly Plus 2PM that hasn't been tested is the functionality to send a shade/cover to a specific position as my test environment doesn't support that functionality. Hope this helps
Thanks
Number 1. I test now your code. Thanks thanks thanks bye Filippo
Il giorno lun 11 set 2023 alle ore 23:05 jbasen @.***> ha scritto:
Hi @ftonellotto https://github.com/ftonellotto ,
I am hoping to have an update out very shortly. I am just waiting on some help from Shelly in testing one device before it is ready. I don't want to hold you up so here is a download link so you can start working with the Pro 3EM. You will just need the comm manager, the EM module, and the Shelly.clz file if you aren't working with other Shelly devices. The link will only be valid for a few days as I need to manage the memory used on my OneDrive.
https://1drv.ms/u/s!AjlldUMTB6AFgoNkPeM6ePRCqD1LeQ?e=qQeBSw
Thanks
— Reply to this email directly, view it on GitHub https://github.com/jbasen/Crestron-Shelly/issues/36#issuecomment-1714577410, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCLTD2AMVEHCHGKUDOMMALLXZ54IJANCNFSM6AAAAAA2RSZUNA . You are receiving this because you were mentioned.Message ID: @.***>
V24 has now been released. I received the assistance from Shelly this morning that I need to complete the work. Note- there were some fixes to the cover mode module made this morning compared to the beta version I posted on my OneDrive yesterday. Thanks
ok. i change immediately the code. Thanks very much. bye Filippo
Il giorno mar 12 set 2023 alle ore 17:34 jbasen @.***> ha scritto:
V24 has now been released. I received the assistance from Shelly this morning that I need to complete the work. Note- there were some fixes to the cover mode module made this morning compared to the beta version I posted on my OneDrive yesterday. Thanks
— Reply to this email directly, view it on GitHub https://github.com/jbasen/Crestron-Shelly/issues/36#issuecomment-1715960665, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCLTD2D5MWW7U5WXKXVZSK3X2B6KDANCNFSM6AAAAAA2RSZUNA . You are receiving this because you were mentioned.Message ID: @.***>
Hi Jbasen
A little advise. I change you code for user "if (DEBUG) print ("Error");" and not Trace(). I don't like trace on console.
bye Filippo
Il giorno mar 12 set 2023 alle ore 21:52 Filippo Tonellotto < @.***> ha scritto:
ok. i change immediately the code. Thanks very much. bye Filippo
Il giorno mar 12 set 2023 alle ore 17:34 jbasen @.***> ha scritto:
V24 has now been released. I received the assistance from Shelly this morning that I need to complete the work. Note- there were some fixes to the cover mode module made this morning compared to the beta version I posted on my OneDrive yesterday. Thanks
— Reply to this email directly, view it on GitHub https://github.com/jbasen/Crestron-Shelly/issues/36#issuecomment-1715960665, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCLTD2D5MWW7U5WXKXVZSK3X2B6KDANCNFSM6AAAAAA2RSZUNA . You are receiving this because you were mentioned.Message ID: @.***>
Hi @ftonellotto ,
I'm sorry but that is not the correct approach. Crestron added Trace to S+ as a replacement for Print because it includes all the functionality you are adding with if (DEBUG). Trace is simply turned on/off depending on whether a #ENABLE_TRACE directive is included in the code, or not. So, using trace instead of print saves you from having to include all your if (DEBUG) code. What you were seeing is that I had accidentally left #ENABLE_TRACE directives exposed in a few modules after my own debugging was done. Checkout the S+ help file for more information.
Ok jbasen I remove debug and restore the trace. And remove #enable_trace Sorry
Il Ven 15 Set 2023, 03:21 jbasen @.***> ha scritto:
Hi @ftonellotto https://github.com/ftonellotto ,
I'm sorry but that is not the correct approach. Crestron added Trace to S+ as a replacement for Print because it includes all the functionality you are adding with if (DEBUG). Trace is simply turned on/off depending on whether a #ENABLE_TRACE directive is included in the code, or not. So, using trace instead of print saves you from having to include all your if (DEBUG) code. What you were seeing is that I had accidentally left
ENABLE_TRACE directives exposed in a few modules after my own debugging
was done. Checkout the S+ help file for more information.
— Reply to this email directly, view it on GitHub https://github.com/jbasen/Crestron-Shelly/issues/36#issuecomment-1720354039, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCLTD2D54VOTSR3LK2U7RA3X2OURLANCNFSM6AAAAAA2RSZUNA . You are receiving this because you were mentioned.Message ID: @.***>
Ciao Jbasen
I find ad strange error on un pro3 EM.
I shelly cloud i see the power on FASEC but it isnt' visible on crestron toolbox And i don't receive data on join "ShellyEM_QuadroCucina_Power_Meter_0_FB"
why ?
Il giorno ven 15 set 2023 alle ore 08:05 Filippo Tonellotto < @.***> ha scritto:
Ok jbasen I remove debug and restore the trace. And remove #enable_trace Sorry
Il Ven 15 Set 2023, 03:21 jbasen @.***> ha scritto:
Hi @ftonellotto https://github.com/ftonellotto ,
I'm sorry but that is not the correct approach. Crestron added Trace to S+ as a replacement for Print because it includes all the functionality you are adding with if (DEBUG). Trace is simply turned on/off depending on whether a #ENABLE_TRACE directive is included in the code, or not. So, using trace instead of print saves you from having to include all your if (DEBUG) code. What you were seeing is that I had accidentally left
ENABLE_TRACE directives exposed in a few modules after my own debugging
was done. Checkout the S+ help file for more information.
— Reply to this email directly, view it on GitHub https://github.com/jbasen/Crestron-Shelly/issues/36#issuecomment-1720354039, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCLTD2D54VOTSR3LK2U7RA3X2OURLANCNFSM6AAAAAA2RSZUNA . You are receiving this because you were mentioned.Message ID: @.***>
Thanks for reporting this. I just uploaded v28 of the code that fixes the problem. The only file you will need to address it is the Shelly.clz file.
Cool. I tested your module and I'm impressed! I hope I will have the opportunity to use your solution someday. Thank YOU for your work! Good job! Please tell me whether you have considered solving the problem of authenticating login to the device? Currently, as I noticed, the devices must be unsecured (no logging in).
wt., 31 paź 2023 o 04:00 jbasen @.***> napisał(a):
Thanks for reporting this. I just uploaded v28 of the code that fixes the problem. The only file you will need to address it is the Shelly.clz file.
— Reply to this email directly, view it on GitHub https://github.com/jbasen/Crestron-Shelly/issues/36#issuecomment-1786361427, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDCY57AUU6IESOLWVA3QUHDYCBST5AVCNFSM6AAAAAA2RSZUNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBWGM3DCNBSG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
checked, I have the impression that phase no. 2 does not work for GEN 1. Shelly_EM_Power_Meter_2_FB
wt., 31 paź 2023 o 08:47 SławomirW @.***> napisał(a):
Cool. I tested your module and I'm impressed! I hope I will have the opportunity to use your solution someday. Thank YOU for your work! Good job! Please tell me whether you have considered solving the problem of authenticating login to the device? Currently, as I noticed, the devices must be unsecured (no logging in).
wt., 31 paź 2023 o 04:00 jbasen @.***> napisał(a):
Thanks for reporting this. I just uploaded v28 of the code that fixes the problem. The only file you will need to address it is the Shelly.clz file.
— Reply to this email directly, view it on GitHub https://github.com/jbasen/Crestron-Shelly/issues/36#issuecomment-1786361427, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDCY57AUU6IESOLWVA3QUHDYCBST5AVCNFSM6AAAAAA2RSZUNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBWGM3DCNBSG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thanks. I originally supported usernames/passwords but then Shelly changed their implementation and it became much more complicated. The time it takes to maintain this code based on the number of new devices Shelly has been releasing has become significant. So, there just isn't time to tackle that problem. It is not like I get paid for any of this.
I just checked and the Gen 1 EM support works fine.
Hi.
I have 4x Pro3EM without problem and 1x PROEM50. This module PRO EM 50 not read the data. It's zero. And I have on log many errors :
Shelly - Get_Power - Error Reading Power: Crestron.SimplSharp.Net.Http.HttpException: {"code":-105,"message":"Argument 'id', value 1 not found !"} at Crestron.SimplSharp.Net.Http.HttpClient.Dispatch (Crestron.SimplSharp.Net.Http.HttpClientRequest aRequest) [0x0015d] in
<5a52ddb3bc8f4a5ea9357e4f3e2a6ae5>:0 at Shelly_Integration.Shelly.Get_Power (System.Int16 Power_Meter_Type, System.String Device_IP, System.Int16 Channel, System.String Username, System.String Password) [0x001f3] inHi @ftonellotto,
I am traveling right now. I will try to take a look at this next week. However, I have a question. On the Shelly EM module, what are you using as the Device_Type parameter when working with the Shelly EM?
Thanks
Hi jbasen
I use "Pro EM". The device is a "Pro EM 50" In the other 3 devices (shelly Pro 3EM) I use "Pro 3EM" without problem..
Il Sab 4 Nov 2023, 14:09 jbasen @.***> ha scritto:
Hi @ftonellotto https://github.com/ftonellotto,
I am traveling right now. I will try to take a look at this next week. However, I have a question. On the Shelly EM module, what are you using as the Device_Type parameter when working with the Shelly EM?
Thanks
— Reply to this email directly, view it on GitHub https://github.com/jbasen/Crestron-Shelly/issues/36#issuecomment-1793439374, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCLTD2CC26OC74XFLHWMOOTYCY5A3AVCNFSM6AAAAAA2RSZUNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGQZTSMZXGQ . You are receiving this because you were mentioned.Message ID: @.***>
Hi @ftonellotto
I don't believe I have a PRO EM 50 to test this with and it isn't shown in the Shelly API. So, I'll need you to do the following
This should give me the information I need to figure out what is going on and address the issue.
Thanks
[FAh][E0h][06h]Shelly EM - EventHandler - Initialize
[FBh]Shelly - Send_Relay_Command - Device_IP = 10.47.0.8, Username = , Password = , Command = 3
Shelly - Send_Gen_2_Relay_Command - Device_IP = 10.47.0.8, Username = , Password = , Command = 3
Shelly - Send_Gen_2_Relay_Command - URL: http://10.47.0.8/rpc/Switch.GetStatus?id=0
Shelly - Send_Gen_2_Relay_Command - ContentString = {"id":0, "source":"init", "output":false,"temperature":{"tC":42.6, "tF":108.7}}
Shelly - Send_Gen_2_Relay_Command - output = false
[FAh][E0h][06h]Shelly EM - EventHandler - Device_IP = 10.47.0.8, Channel = 0, Relay_Is_On = 0, Power_Under_or_Over =
[FBh][FAh][E0h][06h]Shelly EM - EventHandler - processFeedback - Channel = 0, Relay_Is_On = 0, Power_Under_or_Over =
[FBh]Shelly - Get_Power - Device_IP = 10.47.0.8, Username = , Password = , Power_Meter_Type = 5
Shelly - Get_Power - URL: http://10.47.0.8/rpc/Switch.GetStatus?id=0
Shelly - Get_Power - ContentString = {"id":0, "source":"init", "output":false,"temperature":{"tC":42.7, "tF":108.9}}
Shelly - Get_Power - Error - Unable to Parse Power from Content String
Shelly - Get_EM_Voltage - Device_IP = 10.47.0.8, Username = , Password =
Shelly - Get_EM_Voltage - URL: http://10.47.0.8/rpc/Switch.GetStatus?id=0
Shelly - Get_EM_Voltage - ContentString = {"id":0, "source":"init", "output":false,"temperature":{"tC":42.7, "tF":108.9}}
Shelly - Get_EM_Voltage - Error - Unable to Parse Voltage from Content String
Shelly - Get_Power - Device_IP = 10.47.0.8, Username = , Password = , Power_Meter_Type = 5
Shelly - Get_Power - URL: http://10.47.0.8/rpc/Switch.GetStatus?id=1
Shelly - Get_Power - Error Reading Power: Crestron.SimplSharp.Net.Http.HttpException: {"code":-105,"message":"Argument 'id', value 1 not found !"} at Crestron.SimplSharp.Net.Http.HttpClient.Dispatch (Crestron.SimplSharp.Net.Http.HttpClientRequest aRequest) [0x0015d] in <5a52ddb3bc8f4a5ea9357e4f3e2a6ae5>:0 at Shelly_Integration.Shelly.Get_Power (System.Int16 Power_Meter_Type, System.String Device_IP, System.Int16 Channel, System.String Username, System.String Password) [0x001f3] in
Here is a link to a new Shelly.clz file - https://1drv.ms/u/s!AjlldUMTB6AFgoN6CCo_IShdVXsnbQ?e=QdhTS5
Please give this a try and see if it fixes the problem. If it doesn't please repeat the process of supplying me with the information captured in the toolbox text console window.
Also please let me know when you've downloaded the Shelly.clz file so I can free up the memory on my One Drive.
Thanks
I try the new shelly.clz but the problem is the same:
CP4>[FAh][E0h][06h]Shelly EM - EventHandler - Initialize [FBh]Shelly - Send_Relay_Command - Device_IP = 10.47.0.8, Username = , Password = , Command = 3 Shelly - Send_Gen_2_Relay_Command - Device_IP = 10.47.0.8, Username = , Password = , Command = 3 Shelly - Send_Gen_2_Relay_Command - URL: http://10.47.0.8/rpc/Switch.GetStatus?id=0 Shelly - Send_Gen_2_Relay_Command - ContentString = {"id":0, "source":"init", "output":false,"temperature":{"tC":40.3, "tF":104.6}} Shelly - Send_Gen_2_Relay_Command - output = false [FAh][E0h][06h]Shelly EM - EventHandler - Device_IP = 10.47.0.8, Channel = 0, Relay_Is_On = 0, Power_Under_or_Over = [FBh][FAh][E0h][06h]Shelly EM - EventHandler - processFeedback - Channel = 0, Relay_Is_On = 0, Power_Under_or_Over = [FBh]Shelly - Get_Power - Device_IP = 10.47.0.8, Username = , Password = , Power_Meter_Type = 5 Shelly - Get_Power - URL: http://10.47.0.8/rpc/EM.GetStatus?id=0 Shelly - Get_Power - Error Reading Power: Crestron.SimplSharp.Net.Http.HttpException: {"code":404,"message":"No handler for EM.GetStatus"} at Crestron.SimplSharp.Net.Http.HttpClient.Dispatch (Crestron.SimplSharp.Net.Http.HttpClientRequest aRequest) [0x0015d] in <5a52ddb3bc8f4a5ea9357e4f3e2a6ae5>:0 at Shelly_Integration.Shelly.Get_Power (System.Int16 Power_Meter_Type, System.String Device_IP, System.Int16 Channel, System.String Username, System.String Password) [0x001f3] in <51f625c27171409db51bc9d9cae66c5a>:0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh]Shelly - Get_Power - Device_IP = 10.47.0.4, Username = , Password = , Power_Meter_Type = 6 Shelly - Get_Power - URL: http://10.47.0.4/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_1 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_1 [FBh]Shelly - Get_EM_Voltage - Device_IP = 10.47.0.4, Username = , Password = Shelly - Get_EM_Voltage - URL: http://10.47.0.4/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh]Shelly - Get_Power - Device_IP = 10.47.0.5, Username = , Password = , Power_Meter_Type = 6 Shelly - Get_Power - URL: http://10.47.0.5/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh]Shelly - Get_Power - Device_IP = 10.47.0.4, Username = , Password = , Power_Meter_Type = 6 Shelly - Get_Power - URL: http://10.47.0.4/rpc/EM.GetStatus?id=0 Shelly - Get_Power - Device_IP = 10.47.0.4, Username = , Password = , Power_Meter_Type = 6 Shelly - Get_Power - URL: http://10.47.0.4/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_1 [FBh]Shelly - Get_Power - Device_IP = 10.47.0.5, Username = , Password = , Power_Meter_Type = 6 Shelly - Get_Power - URL: http://10.47.0.5/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_2 [FBh]Shelly - Get_EM_Voltage - Device_IP = 10.47.0.4, Username = , Password = Shelly - Get_EM_Voltage - URL: http://10.47.0.4/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_0 [FBh]Shelly - Get_EM_Voltage - Device_IP = 10.47.0.5, Username = , Password = Shelly - Get_EM_Voltage - URL: http://10.47.0.5/rpc/EM.GetStatus?id=0 Shelly - Get_Power - Device_IP = 10.47.0.5, Username = , Password = , Power_Meter_Type = 6 Shelly - Get_Power - URL: http://10.47.0.5/rpc/EM.GetStatus?id=0 Shelly - Get_EM_Voltage - Device_IP = 10.47.0.4, Username = , Password = Shelly - Get_EM_Voltage - URL: http://10.47.0.4/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_1 [FBh]Shelly - Get_EM_Voltage - Device_IP = 10.47.0.5, Username = , Password = Shelly - Get_EM_Voltage - URL: http://10.47.0.5/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_2 [FBh]Shelly - Get_EM_Voltage - Device_IP = 10.47.0.5, Username = , Password = Shelly - Get_EM_Voltage - URL: http://10.47.0.5/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh]Shelly - Get_Power - Device_IP = 10.47.0.7, Username = , Password = , Power_Meter_Type = 6 Shelly - Get_Power - URL: http://10.47.0.7/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_1 [FBh]Shelly - Get_Power - Device_IP = 10.47.0.7, Username = , Password = , Power_Meter_Type = 6 Shelly - Get_Power - URL: http://10.47.0.7/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh]Shelly - Get_Power - Device_IP = 10.47.0.7, Username = , Password = , Power_Meter_Type = 6 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_2 [FBh]Shelly - Get_EM_Voltage - Device_IP = 10.47.0.7, Username = , Password = Shelly - Get_EM_Voltage - URL: http://10.47.0.7/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_0 [FBh]Shelly - Get_EM_Voltage - Device_IP = 10.47.0.7, Username = , Password = Shelly - Get_EM_Voltage - URL: http://10.47.0.7/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_1 [FBh]Shelly - Get_Power - URL: http://10.47.0.7/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_1 [FBh]Shelly - Get_EM_Voltage - Device_IP = 10.47.0.7, Username = , Password = Shelly - Get_EM_Voltage - URL: http://10.47.0.7/rpc/EM.GetStatus?id=0 Shelly - Get_Power - Device_IP = 10.47.0.6, Username = , Password = , Power_Meter_Type = 6 Shelly - Get_Power - URL: http://10.47.0.6/rpc/EM.GetStatus?id=0 Shelly - Get_Power - Device_IP = 10.47.0.6, Username = , Password = , Power_Meter_Type = 6 Shelly - Get_Power - URL: http://10.47.0.6/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_1 [FBh]Shelly - Get_Power - Device_IP = 10.47.0.6, Username = , Password = , Power_Meter_Type = 6 Shelly - Get_EM_Voltage - Device_IP = 10.47.0.6, Username = , Password = Shelly - Get_EM_Voltage - Device_IP = 10.47.0.6, Username = , Password = Shelly - Get_EM_Voltage - URL: http://10.47.0.6/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_0 [FBh]Shelly - Get_Power - URL: http://10.47.0.6/rpc/EM.GetStatus?id=0 Shelly - Get_EM_Voltage - URL: http://10.47.0.6/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_1 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_2 [FBh]Shelly - Get_EM_Voltage - Device_IP = 10.47.0.6, Username = , Password = Shelly - Get_EM_Voltage - URL: http://10.47.0.6/rpc/EM.GetStatus?id=0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_1 [FBh]Shelly - Get_Power - ContentString = {"id":0,"a_current":0.251,"a_voltage":240.9,"a_act_power":5.9,"a_aprt_power":60.4,"a_pf":0.53,"a_freq":49.9,"b_current":0.207,"b_voltage":233.1,"b_act_power":0.0,"b_aprt_power":48.2,"b_pf":0.50,"b_freq":49.9,"c_current":0.523,"c_volta Shelly - Get_Power - ge":243.7,"c_act_power":76.2,"c_aprt_power":127.3,"c_pf":0.72,"c_freq":49.9,"n_current":null,"total_current":0.980,"total_act_power":82.094,"total_aprt_power":235.819, "user_calibrated_phase":[]} Shelly - Get_Power - power = 76.2 Shelly - Get_EM_Voltage - ContentString = {"id":0,"a_current":0.692,"a_voltage":240.9,"a_act_power":-1.2,"a_aprt_power":166.6,"a_pf":0.50,"a_freq":49.9,"b_current":0.222,"b_voltage":232.9,"b_act_power":1.6,"b_aprt_power":51.6,"b_pf":0.51,"b_freq":49.9,"c_current":0.645,"c_vol Shelly - Get_EM_Voltage - tage":243.4,"c_act_power":143.1,"c_aprt_power":156.8,"c_pf":0.91,"c_freq":49.9,"n_current":null,"total_current":1.558,"total_act_power":143.547,"total_aprt_power":374.976, "user_calibrated_phase":[]} Shelly - Get_EM_Voltage - voltage = 240.9 Shelly - Get_EM_Voltage - ContentString = {"id":0,"a_current":0.251,"a_voltage":240.9,"a_act_power":5.9,"a_aprt_power":60.4,"a_pf":0.53,"a_freq":49.9,"b_current":0.207,"b_voltage":233.1,"b_act_power":0.0,"b_aprt_power":48.2,"b_pf":0.50,"b_freq":49.9,"c_current":0.523,"c_volta Shelly - Get_EM_Voltage - ge":243.7,"c_act_power":76.2,"c_aprt_power":127.3,"c_pf":0.72,"c_freq":49.9,"n_current":null,"total_current":0.980,"total_act_power":82.094,"total_aprt_power":235.819, "user_calibrated_phase":[]} Shelly - Get_EM_Voltage - voltage = 240.9 Shelly - Get_EM_Voltage - ContentString = {"id":0,"a_current":0.064,"a_voltage":240.9,"a_act_power":0.0,"a_aprt_power":15.3,"a_pf":0.51,"a_freq":49.9,"b_current":1.033,"b_voltage":233.0,"b_act_power":23.1,"b_aprt_power":240.7,"b_pf":0.53,"b_freq":49.9,"c_current":0.097,"c_vol Shelly - Get_EM_Voltage - tage":243.8,"c_act_power":12.0,"c_aprt_power":23.7,"c_pf":0.50,"c_freq":49.9,"n_current":null,"total_current":1.194,"total_act_power":35.142,"total_aprt_power":279.726, "user_calibrated_phase":[]} Shelly - Get_EM_Voltage - voltage = 243.8 Shelly - Get_Power - ContentString = {"id":0,"a_current":0.692,"a_voltage":240.9,"a_act_power":-1.2,"a_aprt_power":166.6,"a_pf":0.50,"a_freq":49.9,"b_current":0.222,"b_voltage":232.9,"b_act_power":1.6,"b_aprt_power":51.6,"b_pf":0.51,"b_freq":49.9,"c_current":0.645,"c_vol Shelly - Get_Power - tage":243.4,"c_act_power":143.1,"c_aprt_power":156.8,"c_pf":0.91,"c_freq":49.9,"n_current":null,"total_current":1.558,"total_act_power":143.547,"total_aprt_power":374.976, "user_calibrated_phase":[]} Shelly - Get_Power - power = 1.6 Shelly - Get_EM_Voltage - ContentString = {"id":0,"a_current":0.251,"a_voltage":240.9,"a_act_power":5.9,"a_aprt_power":60.4,"a_pf":0.53,"a_freq":49.9,"b_current":0.207,"b_voltage":233.1,"b_act_power":0.0,"b_aprt_power":48.2,"b_pf":0.50,"b_freq":49.9,"c_current":0.523,"c_volta Shelly - Get_EM_Voltage - ge":243.7,"c_act_power":76.2,"c_aprt_power":127.3,"c_pf":0.72,"c_freq":49.9,"n_current":null,"total_current":0.980,"total_act_power":82.094,"total_aprt_power":235.819, "user_calibrated_phase":[]} Shelly - Get_EM_Voltage - voltage = 233.1 Shelly - Get_EM_Voltage - ContentString = {"id":0,"a_current":0.064,"a_voltage":240.9,"a_act_power":0.0,"a_aprt_power":15.3,"a_pf":0.51,"a_freq":49.9,"b_current":1.033,"b_voltage":233.0,"b_act_power":23.1,"b_aprt_power":240.7,"b_pf":0.53,"b_freq":49.9,"c_current":0.097,"c_vol Shelly - Get_EM_Voltage - tage":243.8,"c_act_power":12.0,"c_aprt_power":23.7,"c_pf":0.50,"c_freq":49.9,"n_current":null,"total_current":1.194,"total_act_power":35.142,"total_aprt_power":279.726, "user_calibrated_phase":[]} Shelly - Get_EM_Voltage - voltage = 240.9 Shelly - Get_EM_Voltage - ContentString = {"id":0,"a_current":0.692,"a_voltage":240.9,"a_act_power":-1.2,"a_aprt_power":166.6,"a_pf":0.50,"a_freq":49.9,"b_current":0.222,"b_voltage":232.9,"b_act_power":1.6,"b_aprt_power":51.6,"b_pf":0.51,"b_freq":49.9,"c_current":0.645,"c_vol Shelly - Get_EM_Voltage - tage":243.4,"c_act_power":143.1,"c_aprt_power":156.8,"c_pf":0.91,"c_freq":49.9,"n_current":null,"total_current":1.558,"total_act_power":143.547,"total_aprt_power":374.976, "user_calibrated_phase":[]} Shelly - Get_EM_Voltage - voltage = 232.9 Shelly - Get_Power - ContentString = {"id":0,"a_current":0.251,"a_voltage":240.9,"a_act_power":5.9,"a_aprt_power":60.4,"a_pf":0.53,"a_freq":49.9,"b_current":0.207,"b_voltage":233.1,"b_act_power":0.0,"b_aprt_power":48.2,"b_pf":0.50,"b_freq":49.9,"c_current":0.523,"c_volta Shelly - Get_Power - ge":243.7,"c_act_power":76.2,"c_aprt_power":127.3,"c_pf":0.72,"c_freq":49.9,"n_current":null,"total_current":0.980,"total_act_power":82.094,"total_aprt_power":235.819, "user_calibrated_phase":[]} Shelly - Get_Power - power = 0.0 Shelly - Get_Power - ContentString = {"id":0,"a_current":0.064,"a_voltage":240.9,"a_act_power":0.0,"a_aprt_power":15.3,"a_pf":0.51,"a_freq":49.9,"b_current":1.033,"b_voltage":233.0,"b_act_power":23.1,"b_aprt_power":240.7,"b_pf":0.53,"b_freq":49.9,"c_current":0.097,"c_vol Shelly - Get_Power - tage":243.8,"c_act_power":12.0,"c_aprt_power":23.7,"c_pf":0.50,"c_freq":49.9,"n_current":null,"total_current":1.194,"total_act_power":35.142,"total_aprt_power":279.726, "user_calibrated_phase":[]} Shelly - Get_Power - power = 23.1 Shelly - Get_Power - ContentString = {"id":0,"a_current":0.692,"a_voltage":240.9,"a_act_power":-1.2,"a_aprt_power":166.6,"a_pf":0.50,"a_freq":49.9,"b_current":0.222,"b_voltage":232.9,"b_act_power":1.6,"b_aprt_power":51.6,"b_pf":0.51,"b_freq":49.9,"c_current":0.645,"c_vol Shelly - Get_Power - tage":243.4,"c_act_power":143.1,"c_aprt_power":156.8,"c_pf":0.91,"c_freq":49.9,"n_current":null,"total_current":1.558,"total_act_power":143.547,"total_aprt_power":374.976, "user_calibrated_phase":[]} Shelly - Get_Power - power = 143.1 Shelly - Get_EM_Voltage - ContentString = {"id":0,"a_current":0.251,"a_voltage":240.9,"a_act_power":5.9,"a_aprt_power":60.4,"a_pf":0.53,"a_freq":49.9,"b_current":0.207,"b_voltage":233.1,"b_act_power":0.0,"b_aprt_power":48.2,"b_pf":0.50,"b_freq":49.9,"c_current":0.523,"c_volta Shelly - Get_EM_Voltage - ge":243.7,"c_act_power":76.2,"c_aprt_power":127.3,"c_pf":0.72,"c_freq":49.9,"n_current":null,"total_current":0.980,"total_act_power":82.094,"total_aprt_power":235.819, "user_calibrated_phase":[]} Shelly - Get_EM_Voltage - voltage = 243.7 Shelly - Get_Power - ContentString = {"id":0,"a_current":0.064,"a_voltage":240.9,"a_act_power":0.0,"a_aprt_power":15.3,"a_pf":0.51,"a_freq":49.9,"b_current":1.033,"b_voltage":233.0,"b_act_power":23.1,"b_aprt_power":240.7,"b_pf":0.53,"b_freq":49.9,"c_current":0.097,"c_vol Shelly - Get_Power - tage":243.8,"c_act_power":12.0,"c_aprt_power":23.7,"c_pf":0.50,"c_freq":49.9,"n_current":null,"total_current":1.194,"total_act_power":35.142,"total_aprt_power":279.726, "user_calibrated_phase":[]} Shelly - Get_Power - power = 12.0 Shelly - Get_EM_Voltage - ContentString = {"id":0,"a_current":0.692,"a_voltage":240.9,"a_act_power":-1.2,"a_aprt_power":166.6,"a_pf":0.50,"a_freq":49.9,"b_current":0.222,"b_voltage":232.9,"b_act_power":1.6,"b_aprt_power":51.6,"b_pf":0.51,"b_freq":49.9,"c_current":0.645,"c_vol Shelly - Get_EM_Voltage - tage":243.4,"c_act_power":143.1,"c_aprt_power":156.8,"c_pf":0.91,"c_freq":49.9,"n_current":null,"total_current":1.558,"total_act_power":143.547,"total_aprt_power":374.976, "user_calibrated_phase":[]} Shelly - Get_EM_Voltage - voltage = 243.4 Shelly - Get_EM_Voltage - ContentString = {"id":0,"a_current":0.064,"a_voltage":240.9,"a_act_power":0.0,"a_aprt_power":15.3,"a_pf":0.51,"a_freq":49.9,"b_current":1.033,"b_voltage":233.0,"b_act_power":23.1,"b_aprt_power":240.7,"b_pf":0.53,"b_freq":49.9,"c_current":0.097,"c_vol Shelly - Get_EM_Voltage - tage":243.8,"c_act_power":12.0,"c_aprt_power":23.7,"c_pf":0.50,"c_freq":49.9,"n_current":null,"total_current":1.194,"total_act_power":35.142,"total_aprt_power":279.726, "user_calibrated_phase":[]} Shelly - Get_EM_Voltage - voltage = 233.0 Shelly - Get_EM_Voltage - ContentString = {"id":0,"a_current":1.448,"a_voltage":241.1,"a_act_power":299.1,"a_aprt_power":348.9,"a_pf":0.88,"a_freq":50.0,"b_current":0.072,"b_voltage":243.6,"b_act_power":14.7,"b_aprt_power":17.5,"b_pf":0.83,"b_freq":49.9,"ccurrent":10.313,"c Shelly - Get_EM_Voltage - voltage":232.8,"c_act_power":2386.2,"c_aprt_power":2398.5,"c_pf":1.00,"c_freq":49.9,"n_current":null,"total_current":11.833,"total_act_power":2699.994,"total_aprt_power":2764.845, "user_calibrated_phase":[]} Shelly - Get_EM_Voltage - voltage = 241.1 Shelly - Get_Power - ContentString = {"id":0,"a_current":1.448,"a_voltage":241.1,"a_act_power":299.1,"a_aprt_power":348.9,"a_pf":0.88,"a_freq":50.0,"b_current":0.072,"b_voltage":243.6,"b_act_power":14.7,"b_aprt_power":17.5,"b_pf":0.83,"b_freq":49.9,"ccurrent":10.313,"c Shelly - Get_Power - voltage":232.8,"c_act_power":2386.2,"c_aprt_power":2398.5,"c_pf":1.00,"c_freq":49.9,"n_current":null,"total_current":11.833,"total_act_power":2699.994,"total_aprt_power":2764.845, "user_calibrated_phase":[]} Shelly - Get_Power - power = 2386.2 Shelly - Get_EM_Voltage - ContentString = {"id":0,"a_current":1.454,"a_voltage":240.3,"a_act_power":302.5,"a_aprt_power":349.0,"a_pf":0.88,"a_freq":49.9,"b_current":0.071,"b_voltage":243.1,"b_act_power":14.2,"b_aprt_power":17.1,"b_pf":0.84,"b_freq":49.9,"ccurrent":10.255,"c Shelly - Get_EM_Voltage - voltage":232.9,"c_act_power":2366.2,"c_aprt_power":2385.4,"c_pf":1.00,"c_freq":49.9,"n_current":null,"total_current":11.779,"total_act_power":2682.902,"total_aprt_power":2751.588, "user_calibrated_phase":[]} Shelly - Get_EM_Voltage - voltage = 243.1 Shelly - Get_Power - ContentString = {"id":0,"a_current":1.454,"a_voltage":240.3,"a_act_power":302.5,"a_aprt_power":349.0,"a_pf":0.88,"a_freq":49.9,"b_current":0.071,"b_voltage":243.1,"b_act_power":14.2,"b_aprt_power":17.1,"b_pf":0.84,"b_freq":49.9,"ccurrent":10.255,"c Shelly - Get_Power - voltage":232.9,"c_act_power":2366.2,"c_aprt_power":2385.4,"c_pf":1.00,"c_freq":49.9,"n_current":null,"total_current":11.779,"total_act_power":2682.902,"total_aprt_power":2751.588, "user_calibrated_phase":[]} Shelly - Get_Power - power = 14.2 Shelly - Get_EM_Voltage - ContentString = {"id":0,"a_current":1.454,"a_voltage":240.3,"a_act_power":302.5,"a_aprt_power":349.0,"a_pf":0.88,"a_freq":49.9,"b_current":0.071,"b_voltage":243.1,"b_act_power":14.2,"b_aprt_power":17.1,"b_pf":0.84,"b_freq":49.9,"ccurrent":10.255,"c Shelly - Get_EM_Voltage - voltage":232.9,"c_act_power":2366.2,"c_aprt_power":2385.4,"c_pf":1.00,"c_freq":49.9,"n_current":null,"total_current":11.779,"total_act_power":2682.902,"total_aprt_power":2751.588, "user_calibrated_phase":[]} Shelly - Get_EM_Voltage - voltage = 232.9 Shelly - Get_Power - ContentString = {"id":0,"a_current":0.252,"a_voltage":240.3,"a_act_power":5.8,"a_aprt_power":60.5,"a_pf":0.52,"a_freq":49.9,"b_current":0.207,"b_voltage":233.3,"b_act_power":0.0,"b_aprt_power":48.4,"b_pf":0.51,"b_freq":49.9,"c_current":0.522,"c_volta Shelly - Get_Power - ge":243.0,"c_act_power":76.0,"c_aprt_power":126.8,"c_pf":0.71,"c_freq":49.9,"n_current":null,"total_current":0.981,"total_act_power":81.808,"total_aprt_power":235.668, "user_calibrated_phase":[]} Shelly - Get_Power - power = 5.8 Shelly - Get_Power - ContentString = {"id":0,"a_current":0.693,"a_voltage":240.8,"a_act_power":-1.3,"a_aprt_power":166.7,"a_pf":0.50,"a_freq":49.9,"b_current":0.222,"b_voltage":232.8,"b_act_power":2.1,"b_aprt_power":51.6,"b_pf":0.51,"b_freq":49.9,"c_current":0.646,"c_vol Shelly - Get_Power - tage":243.1,"c_act_power":143.6,"c_aprt_power":157.0,"c_pf":0.91,"c_freq":49.9,"n_current":null,"total_current":1.561,"total_act_power":144.338,"total_aprt_power":375.329, "user_calibrated_phase":[]} Shelly - Get_Power - power = -1.3 Shelly - Get_Power - ContentString = {"id":0,"a_current":1.454,"a_voltage":240.3,"a_act_power":302.5,"a_aprt_power":349.0,"a_pf":0.88,"a_freq":49.9,"b_current":0.071,"b_voltage":243.1,"b_act_power":14.2,"b_aprt_power":17.1,"b_pf":0.84,"b_freq":49.9,"ccurrent":10.255,"c Shelly - Get_Power - voltage":232.9,"c_act_power":2366.2,"c_aprt_power":2385.4,"c_pf":1.00,"c_freq":49.9,"n_current":null,"total_current":11.779,"total_act_power":2682.902,"total_aprt_power":2751.588, "user_calibrated_phase":[]} Shelly - Get_Power - power = 302.5 Shelly - Get_Power - ContentString = {"id":0,"a_current":0.097,"a_voltage":240.8,"a_act_power":1.8,"a_aprt_power":23.5,"a_pf":0.52,"a_freq":49.9,"b_current":1.034,"b_voltage":232.9,"b_act_power":22.2,"b_aprt_power":240.8,"b_pf":0.53,"b_freq":49.9,"c_current":0.098,"c_vol Shelly - Get_Power - tage":243.5,"c_act_power":12.3,"c_aprt_power":23.8,"c_pf":0.52,"c_freq":49.9,"n_current":null,"total_current":1.229,"total_act_power":36.286,"total_aprt_power":288.087, "user_calibrated_phase":[]} Shelly - Get_Power - power = 1.8 Shelly - Get_EM_Voltage - Device_IP = 10.47.0.8, Username = , Password = Shelly - Get_EM_Voltage - URL: http://10.47.0.8/rpc/Switch.GetStatus?id=0 Shelly - Get_EM_Voltage - ContentString = {"id":0, "source":"init", "output":false,"temperature":{"tC":40.2, "tF":104.4}} Shelly - Get_EM_Voltage - Error - Unable to Parse Voltage from Content String Shelly - Get_Power - Device_IP = 10.47.0.8, Username = , Password = , Power_Meter_Type = 5 Shelly - Get_Power - URL: http://10.47.0.8/rpc/EM.GetStatus?id=1 Shelly - Get_Power - Error Reading Power: Crestron.SimplSharp.Net.Http.HttpException: {"code":404,"message":"No handler for EM.GetStatus"} at Crestron.SimplSharp.Net.Http.HttpClient.Dispatch (Crestron.SimplSharp.Net.Http.HttpClientRequest aRequest) [0x0015d] in <5a52ddb3bc8f4a5ea9357e4f3e2a6ae5>:0 at Shelly_Integration.Shelly.Get_Power (System.Int16 Power_Meter_Type, System.String Device_IP, System.Int16 Channel, System.String Username, System.String Password) [0x001f3] in <51f625c27171409db51bc9d9cae66c5a>:0 Shelly - Get_EM_Voltage - Device_IP = 10.47.0.8, Username = , Password = Shelly - Get_EM_Voltage - URL: http://10.47.0.8/rpc/Switch.GetStatus?id=1 Shelly - Get_EM_Voltage - Error Reading Voltage: Crestron.SimplSharp.Net.Http.HttpException: {"code":-105,"message":"Argument 'id', value 1 not found !"} at Crestron.SimplSharp.Net.Http.HttpClient.Dispatch (Crestron.SimplSharp.Net.Http.HttpClientRequest aRequest) [0x0015d] in <5a52ddb3bc8f4a5ea9357e4f3e2a6ae5>:0 at Shelly_Integration.Shelly.Get_EM_Voltage (System.String Device_IP, System.Int16 Power_Meter_Type, System.Int16 Channel, System.String Username, System.String Password) [0x0016c] in <51f625c27171409db51bc9d9cae66c5a>:0
Without debug console i see this:
[FAh][E0h][06h]Shelly EM - EventHandler - Initialize [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Initialize [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Initialize [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Initialize [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Initialize [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Device_IP = 10.47.0.8, Channel = 0, Relay_Is_On = 0, Power_Under_or_Over = [FBh][FAh][E0h][06h]Shelly EM - EventHandler - processFeedback - Channel = 0, Relay_Is_On = 0, Power_Under_or_Over = [FBh]Shelly - Get_Power - Error Reading Power: Crestron.SimplSharp.Net.Http.HttpException: {"code":404,"message":"No handler for EM.GetStatus"} at Crestron.SimplSharp.Net.Http.HttpClient.Dispatch (Crestron.SimplSharp.Net.Http.HttpClientRequest aRequest) [0x0015d] in <5a52ddb3bc8f4a5ea9357e4f3e2a6ae5>:0 at Shelly_Integration.Shelly.Get_Power (System.Int16 Power_Meter_Type, System.String Device_IP, System.Int16 Channel, System.String Username, System.String Password) [0x001f3] in <51f625c27171409db51bc9d9cae66c5a>:0 Shelly - Get_Power - Error Reading Power: Crestron.SimplSharp.Net.Http.HttpException: {"code":404,"message":"No handler for EM.GetStatus"} at Crestron.SimplSharp.Net.Http.HttpClient.Dispatch (Crestron.SimplSharp.Net.Http.HttpClientRequest aRequest) [0x0015d] in <5a52ddb3bc8f4a5ea9357e4f3e2a6ae5>:0 at Shelly_Integration.Shelly.Get_Power (System.Int16 Power_Meter_Type, System.String Device_IP, System.Int16 Channel, System.String Username, System.String Password) [0x001f3] in <51f625c27171409db51bc9d9cae66c5a>:0 Shelly - Get_EM_Voltage - Error Reading Voltage: Crestron.SimplSharp.Net.Http.HttpException: {"code":-105,"message":"Argument 'id', value 1 not found !"} at Crestron.SimplSharp.Net.Http.HttpClient.Dispatch (Crestron.SimplSharp.Net.Http.HttpClientRequest aRequest) [0x0015d] in <5a52ddb3bc8f4a5ea9357e4f3e2a6ae5>:0 at Shelly_Integration.Shelly.Get_EM_Voltage (System.String Device_IP, System.Int16 Power_Meter_Type, System.Int16 Channel, System.String Username, System.String Password) [0x0016c] in <51f625c27171409db51bc9d9cae66c5a>:0 [FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_1 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_1 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_2 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_1 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_1 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_2 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_1 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_1 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_2 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_1 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_1 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_2 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_0 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Meter_1 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Read_Voltage_1 [FBh]Shelly - Get_Power - Error Reading Power: Crestron.SimplSharp.Net.Http.HttpException: {"code":404,"message":"No handler for EM.GetStatus"} at Crestron.SimplSharp.Net.Http.HttpClient.Dispatch (Crestron.SimplSharp.Net.Http.HttpClientRequest aRequest) [0x0015d] in <5a52ddb3bc8f4a5ea9357e4f3e2a6ae5>:0 at Shelly_Integration.Shelly.Get_Power (System.Int16 Power_Meter_Type, System.String Device_IP, System.Int16 Channel, System.String Username, System.String Password) [0x001f3] in <51f625c27171409db51bc9d9cae66c5a>:0 Shelly - Get_EM_Voltage - Error Reading Voltage: Crestron.SimplSharp.Net.Http.HttpException: {"code":-105,"message":"Argument 'id', value 1 not found !"} at Crestron.SimplSharp.Net.Http.HttpClient.Dispatch (Crestron.SimplSharp.Net.Http.HttpClientRequest aRequest) [0x0015d] in <5a52ddb3bc8f4a5ea9357e4f3e2a6ae5>:0 at Shelly_Integration.Shelly.Get_EM_Voltage (System.String Device_IP, System.Int16 Power_Meter_Type, System.Int16 Channel, System.String Username, System.String Password) [0x0016c] in <51f625c27171409db51bc9d9cae66c5a>:0 [FAh][E0h][06h]Shelly EM - EventHandler - Error Obtaining Voltage from Meter 1 [FBh][FAh][E0h][06h]Shelly EM - EventHandler - Error Obtaining Voltage from Meter 0 [FBh]Shelly - Get_Power - Error Reading Power: Crestron.SimplSharp.Net.Http.HttpException: {"code":404,"message":"No handler for EM.GetStatus"} at Crestron.SimplSharp.Net.Http.HttpClient.Dispatch (Crestron.SimplSharp.Net.Http.HttpClientRequest aRequest) [0x0015d] in <5a52ddb3bc8f4a5ea9357e4f3e2a6ae5>:0 at Shelly_Integration.Shelly.Get_Power (System.Int16 Power_Meter_Type, System.String Device_IP, System.Int16 Channel, System.String Username, System.String Password) [0x001f3] in <51f625c27171409db51bc9d9cae66c5a>:0
CP4>
CP4>
I apologize. This is frustrating for both of us because I don't have one of these devices so I can test it myself, write the code to support it, debug it, and deliver something that works (or is at least very close).
Lets try this.
Please enter the following commands in the address bar of your browser one at a time. Then just send me what is returned for each one.
http://10.47.0.8/rpc/EM0.GetStatus?id=0
http://10.47.0.8/rpc/EM0.GetStatus?id=1
http://10.47.0.8/rpc/EM1.GetStatus?id=0
http://10.47.0.8/rpc/EM1.GetStatus?id=1
Thanks
In order the response:
http://10.47.0.8/rpc/EM0.GetStatus?id=0
{"code":404,"message":"No handler for EM0.GetStatus"}
http://10.47.0.8/rpc/EM0.GetStatus?id=1
{"code":404,"message":"No handler for EM0.GetStatus"}
http://10.47.0.8/rpc/EM1.GetStatus?id=0
{"id":0,"current":1.865,"voltage":235.2,"act_power":392.1,"aprt_power":440.4,"pf":0.89, "freq":50.0,"calibration":"factory"}
http://10.47.0.8/rpc/EM1.GetStatus?id=1
{"id":1,"current":1.006,"voltage":234.9,"act_power":122.4,"aprt_power":237.2,"pf":0.68, "freq":50.0,"calibration":"factory"}
The seconds seems my power !!
bye
Filippo
Il giorno sab 11 nov 2023 alle ore 23:18 jbasen @.***> ha scritto:
I apologize. This is frustrating for both of us because I don't have one of these devices so I can test it myself, write the code to support it, debug it, and deliver something that works (or is at least very close).
Lets try this.
Please enter the following commands in the address bar of your browser one at a time. Then just send me what is returned for each one.
http://10.47.0.8/rpc/EM0.GetStatus?id=0
http://10.47.0.8/rpc/EM0.GetStatus?id=1
http://10.47.0.8/rpc/EM1.GetStatus?id=0
http://10.47.0.8/rpc/EM1.GetStatus?id=1
Thanks
— Reply to this email directly, view it on GitHub https://github.com/jbasen/Crestron-Shelly/issues/36#issuecomment-1806931217, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCLTD2CCTWWPMNAVJXFOSB3YD72RXAVCNFSM6AAAAAA2RSZUNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWHEZTCMRRG4 . You are receiving this because you were mentioned.Message ID: @.***>
Hi @ftonellotto ,
Thanks for testing and providing the return JSON from those http requests. Here is a new version of the Crestron-Shelly code that you can test.
https://1drv.ms/u/s!AjlldUMTB6AFgoN783o67SsAlA_mhA?e=bfgsKA
Hopefully this one solves the problems communicating with the EM-50. Unfortunately, Shelly is very inconsistent on the format of commands for getting status from their EM devices. The PRO EM is different from the PRO 3EM. Now the PRO EM-50 is slightly different than the other 2. Very frustrating.
You will need the new Shelly.clz and the new Shelly EM v5 S+ module. That module has a new device type parameter for the Shelly EM-50.
Let me know how this works for you. If things go OK I will post the new version for general use.
Thanks
ok jbasen With the versione v5 the EM-50 is ok !! :-) Can we user v5 in all the module PRO 3EM and EM ?
bye Filippo
Il giorno mar 14 nov 2023 alle ore 21:16 jbasen @.***> ha scritto:
Hi @ftonellotto https://github.com/ftonellotto ,
Thanks for testing and providing the return JSON from those http requests. Here is a new version of the Crestron-Shelly code that you can test.
https://1drv.ms/u/s!AjlldUMTB6AFgoN783o67SsAlA_mhA?e=bfgsKA
Hopefully this one solves the problems communicating with the EM-50. Unfortunately, Shelly is very inconsistent on the format of commands for getting status from their EM devices. The PRO EM is different from the PRO 3EM. Now the PRO EM-50 is slightly different than the other 2. Very frustrating.
You will need the new Shelly.clz and the new Shelly EM v5 S+ module. That module has a new device type parameter for the Shelly EM-50.
Let me know how this works for you. If things go OK I will post the new version for general use.
Thanks
— Reply to this email directly, view it on GitHub https://github.com/jbasen/Crestron-Shelly/issues/36#issuecomment-1811177433, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCLTD2G2M43ZR26YNN4ZTWLYEPGRLAVCNFSM6AAAAAA2RSZUNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJRGE3TONBTGM . You are receiving this because you were mentioned.Message ID: @.***>
Hi @ftonellotto
Great News! Yes, you should be able to use the v5 module with any model Shelly EM.
Thanks
Is it possible to control the Shelly Plus 2PM in roller mode?