Ocpp, possible to send heartbeat signal? - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Ocpp, possible to send heartbeat signal? (/showthread.php?tid=4228) |
Ocpp, possible to send heartbeat signal? - Jonas S - 09.09.2022 Hello Would it be possible, maybe through websocket? to send heartbeat command to ocpp backend? What I'm really after is to use a energy meter and send consumption to the backends Load managment but if I could mange to figure out just the heartbeat function I should be able to get the rest working by my self json script for heartbeat response: { "$schema": "http://json-schema.org/draft-04/schema#", "id": "urn:OCPP:1.6:2019:12:HeartbeatResponse", "title": "HeartbeatResponse", "type": "object", "properties": { "currentTime": { "type": "string", "format": "date-time" } }, "additionalProperties": false, "required": [ "currentTime" ] } /Jonas RE: Ocpp, possible to send heartbeat signal? - admin - 09.09.2022 We're looking into OCPP at the moment. Examples will be posted when ready. RE: Ocpp, possible to send heartbeat signal? - admin - 14.09.2022 See attached code for OCPP v1.6 client example. RE: Ocpp, possible to send heartbeat signal? - Jonas S - 16.09.2022 (14.09.2022, 10:48)admin Wrote: See attached code for OCPP v1.6 client example. Cool. Thanks RE: Ocpp, possible to send heartbeat signal? - pioneersteffen - 19.09.2022 (09.09.2022, 13:17)admin Wrote: We're looking into OCPP at the moment. Examples will be posted when ready. Many thanks, looks promising! Do you see a difference to using it with OCPP 2.0? RE: Ocpp, possible to send heartbeat signal? - admin - 19.09.2022 The base protocol is the same but the command structure is different. Meaning this example won't work with 2.0 without modifications. RE: Ocpp, possible to send heartbeat signal? - pioneersteffen - 20.09.2022 Thanks admin for the quick reply! Are you planning to supply also a template for OCPP version 2.0 in future? RE: Ocpp, possible to send heartbeat signal? - admin - 21.09.2022 Attached v2.0 client example. RE: Ocpp, possible to send heartbeat signal? - pioneersteffen - 02.10.2022 Many thanks for the prompt help! RE: Ocpp, possible to send heartbeat signal? - victor.back - 07.10.2022 (14.09.2022, 10:48)admin Wrote: See attached code for OCPP v1.6 client example. Thanks for sharing examples. I ran this in a Resident with the user.websocket and get arg1 string: ws connection failed arg2 string: connection refused tried it on an Easee chargebox. RE: Ocpp, possible to send heartbeat signal? - admin - 07.10.2022 This example emulates a charger so LM acts as a client. Connecting charger to LM is a different thing. RE: Ocpp, possible to send heartbeat signal? - victor.back - 11.10.2022 (07.10.2022, 14:11)admin Wrote: This example emulates a charger so LM acts as a client. Connecting charger to LM is a different thing. Okey, but is it possible to connect a charger to LM via OCPP for doing a smart charging solution? Heres the developer doc from Easee https://developer.easee.cloud/docs/ocpp-smart-charging RE: Ocpp, possible to send heartbeat signal? - admin - 11.10.2022 Possible but we don't have a ready example at the moment. See this for Easee connectivity: https://forum.logicmachine.net/showthread.php?tid=3301 RE: Ocpp, possible to send heartbeat signal? - victor.back - 11.10.2022 (11.10.2022, 09:28)admin Wrote: Possible but we don't have a ready example at the moment. See this for Easee connectivity: https://forum.logicmachine.net/showthread.php?tid=3301 Okey thank you! RE: Ocpp, possible to send heartbeat signal? - domotiqa - 27.09.2024 Is there any solutioon to take information from EV CHARGING Expert SCHNEIDER HMIBSC... For example take the total/zone consumsion of evlink.... I know we can communicate modbus to the evlink (but I have 20 evlink). I was looking for a solution to interface with the SE EV HMI. Do you know it ? thanks RE: Ocpp, possible to send heartbeat signal? - FatMax - 27.09.2024 (27.09.2024, 15:26)domotiqa Wrote: Is there any solutioon to take information from EV CHARGING Expert SCHNEIDER HMIBSC... The EV Charging Expert does not expose that information in the API they developed for the EVCE. You are better off requesting the info over modbus tcp. RE: Ocpp, possible to send heartbeat signal? - domotiqa - 27.09.2024 ok I ssaw that we can provide ocpp server on the EV but not yet implemented on LM I guess I didn't know there was an API when you say modbus ip you mean to the evlink not the EVCE, cause I didn't find any modbus register for it, only for the evlink station RE: Ocpp, possible to send heartbeat signal? - FatMax - 27.09.2024 (27.09.2024, 17:13)domotiqa Wrote: ok Yes, I mean polling the EVlinks via modbus TCP. |