ioBroker.socketio icon indicating copy to clipboard operation
ioBroker.socketio copied to clipboard

Implement "createState"

Open reitbauer opened this issue 3 years ago • 2 comments

Hello,

currently it's not possible to create a state with the adapter. Is it possible to add the "createState" functionality?

Thanks and BR

reitbauer avatar Sep 01 '22 19:09 reitbauer

You can simply create state with

socket.emit("setObject", "javascript.0.myState", {common:  {name: "My STATE", type: "number, "role": "state", write: true}, type: "state", native: {}})

GermanBluefox avatar Oct 10 '22 12:10 GermanBluefox

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

stale[bot] avatar May 09 '23 01:05 stale[bot]