Enter forum description here ...
0

Json parsing error - Missing token (Shelly Plus Plug S / MQTT)

netit 6 months ago in Devices / Other 0

Hello,

I sucessfully integrated a Shelly Plus Plug S via MQTT.

MQTT messages that contain "switch" updates (when it's turned on/off) are successfully interpreted. I catch them with Token Name : params.switch:0.output (see screenshot below).

Meanwhile, the Shelly device is also sending other MQTT messages with energy consumption information. When doing so, the parameter "output" is not present in the JSON file, resulting in a Exception error : Error parsing received data. Value cannot be null.Parameter name: value


Any advise how to prevent these errors ?

Thank you.

---

JSON message when "output" changes. This gets successfully parsed. Example of a switch off message :

{"src":"shellyplusplugs-e465b85ccccc","dst":"shellyplusplugs-e465b85ccccc/events","method":"NotifyStatus","params":{"ts":1701336805.47,"switch:0":{"id":0,"apower":0,"current":0,"output":false,"source":"WS_in","voltage":0}}}


Periodically JSON message to notify energy updates. These don't get successfully parsed (as it is missing the 'output' parameter. Example :


{"src":"shellyplusplugs-e465b85ccccc","dst":"shellyplusplugs-mytext/events","method":"NotifyStatus","params":{"ts":1701352440.40,"switch:0":{"id":0,"aenergy":{"by_minute":[5.012,8.202,0.000],"minute_ts":1701352439,"total":4.922}}}}

Image 4751

Image 4749

0
Under review

vasilis vounatsos

vasilis 6 months ago in Devices / KNX updated 5 months ago 3

I WOULD LIKE TO KNOW HOW TO PUT A BUTTON IN COMFORT CLICK WHICH CAN HANDLE A SHUTTER ACTUATOR (ROLLER SHTTER SWITCH N 523/3). I HAVE A MOOD MAKER (PUSH BUTTON 5WG1220-2AB21) WHICH THW FUNCION IS INPUTS,JOINTLYCONFIGURED. IT SEEMS LIKE LIKE ONE BUTTON IN ONE SINGLE GROUP ADDRESS. WITH WHAT BUTTON IN CONFORT CLICK I CAN SEPERATE THE TWO FUNCTIONS ?

0

RPC: 404 not found

netit 6 months ago in Devices / Other 0

Hello,

Is there a way to troubleshoot 404 errors on RPC or Comfortlick port 80 address ?

RPC is working perfectly well, and I have multiple devices/clients sending requests to RPC (eg : SetValue).

Meanwhile, I have one device/client (Shelly Plus Plug S) that I don't get to work and get the following error :

{ "code": 404,"message": "Not Found","headers": {"Connection": "close"}}

Some tests I did :

1/ A GET request to the toor address of Comfortclick is working (http)

2/ A POST request without the Authorization header is returning a 401 error as expected (http)

3/ In general, the device is not altering URLs (eg : uppercase/lowercase)

When I copy/past everything into https://reqbin.com/ to test the request, it works... This drives me crazy.

The problem is likely not on Comfortclick's side. But I'm unable to troubleshoot.

Any suggestions ?

Thank you !

----

let h = {
method: "POST",
url: "http://192.168.1.10/API/RPC/SetValue",
headers : {
'Content-Type': "application/json; charset=utf-8",
'Authorization': "Basic UlBDeWQ6ZGhZNjdhxxx4MlNpdWFo"
},
body : '{"objectName":"Devices\\KNX\\Light 1","valueName":"Value","value":"false"}',
timeout: 4
};

Shelly.call("HTTP.REQUEST", h, function (result,error_code,error_message) {

print(result);
});

0
Under review

MQTT - Client disconnect

netit 6 months ago in Devices / Other updated 6 months ago 2

Hello - I'm troubleshooting Client connection issues (in a wider context of controlling a Shelly Plus Plug S).

To run my tests, I use an iOS app called MQTTool.

https://apps.apple.com/us/app/mqttool/id1085976398

(I also tested another app to do tests, with same results)

My Comfortclick MQTT setup :

Image 4734


Image 4735


I have one client configured ("client2"). And it's enabled.


1) If I use MQTTool, and use "client1" as client id, I'm able to connect and send a message to it:

Image 4736

Monitor :

Image 4743

2) If I use "client2" as client ID (that is configured and enabled in Comfortclick), I'm not able to connect (there is a tentative that is immediatly disconnected). Moreover, when I connect, "client2" gets removed/disabled in Comfortclient Clients list.


Image 4737

Monitor log :


Image 4741


After the disconnect, the client2 reappears in the Client list :

Image 4740

Debug is showing :

Image 4742

Any suggestions ?

Thank you

0

Comfort Click Jigsaw 3 and PLC bad communication

Milos Jovanovic 6 months ago in Devices / Modbus updated by Jürgen Jürgenson 6 months ago 5

I would like to address an issue regarding the Comfort Click Jigsaw 3 device and the PLC controller. Communication is carried out through the Modbus TCP protocol. The initial problem involves the mobile application displaying the online status of the Comfort Click device, but it lacks successful communication with the PLC controller. Changes in values within the application do not reflect corresponding alterations on the PLC controller. This issue has been temporarily resolved by halting the operation of the PLC and restarting it, but it reoccurs after some time.

The second problem occurred today in the form of the unavailability of the mobile application. When attempting to log in to the device, an error is displayed: "Error connecting to server." Additionally, on the Comfort Click web platform, I noticed that the status of my controller is marked as offline.

I kindly request your expertise in diagnosing and resolving these issues.

0
Under review

Shelly Plus 1 Mini

Tanel Matsi 6 months ago in Devices / Other updated by ComfortClick Support 6 months ago 5

I tried to use Shelly Plus 1 demo. But does not seem to work. I changed Status and Toggle Topic ID. I am able to see the status correctly at Toggle Value.

As soon as I want to control Toggle Value, then Shelly gets disconnected for some time. Then the connection comes back, I am again able to see the status, but not able to change the value.

Image 4724

0
Under review

ETS6 connection error

Stephen Andries 6 months ago in Devices / KNX updated by ComfortClick Support 6 months ago 1

Hello,

i cant seem to get a good connection between ets6 and the jigsaw pro. Sometimes it works, but most of the times when ik try to add a connection using iptunneling and entering the jigsaws IP. It says it can ping the device but could get an identification. When i test the connection, it fails. So i can't program ....

if i browse to the ip adres, i can access the jigsaw, so connection is fine

0

Doorbird - input by bOS-trigger

Joost vB 7 months ago in Devices / Other updated by Ricardo Pinto | visiontech pt 6 months ago 9

Hi all,

I have a Doorbird unit connected to my bOS.

We've had our regular analog doorbell button connected to bOS to set a boolean value.

Now I'd like to have this value (true/false) sent to de Doorbird unit so it acts as if the native doorbell button was pressed.

How would I set this up within the Doorbird example (which is setup and runs as expected)?

0

Home Connect API for kitchen appliances

Grundnig Vassilios 7 months ago in Devices / Http updated by Jürgen Jürgenson 7 months ago 1

Hello,

I am trying to integrate Home Connect API to my client's visualization so I can control some kitcen appliances. I have registered to Developers Program (so I can use Home Connect API) but I stuck in the first steps, more specifically in "Step 3: Retrieve Token" (authorization). I am pretty new to API integration but of course i have watched all of Comfort Click's tutorials. For now I am using the simulation mode that Home connect provides. Here is the link https://api-docs.home-connect.com/quickstart/ .Any help appreciated. Thank you in advance!

0

Intercom integration

Dávid Kirchhofer 7 months ago in Devices / Basic updated by Pablo Lopez 7 months ago 6

Hello!

I would like to to intergate video intercom into CC. Which type of intercom recomended to use where the two way audio, video stream and door unlocking is working from the BOS app and not need to call other app from the BOS.

Thanks!