Forum Replies Created
-
AuthorPosts
-
kumajaya
ParticipantCan we just have an option to hold last valid value?
kumajaya
ParticipantIt’s works! But missing BouncyCastle.Crypto.dll 1.8.4 in your package.
kumajaya
ParticipantIt’s good if you rebase it to upstream Strider Mqtt https://github.com/ericvoid/StriderMqtt I’m not that expert to rewrite a driver from scratch.
kumajaya
ParticipantI have found why my old binary more reliable maintain connection to ThingsBoard than the current version. Revert https://github.com/bersim/OpenKPs/commit/cbf039eccbbd17b1ae6b0c66dd4db04237b4969f restore reconnection feature.
kumajaya
ParticipantUpdate for example dashboard from my personal project:
-
This reply was modified 5 years, 11 months ago by
kumajaya.
kumajaya
ParticipantFrom ThingsBoard’s FAQ https://thingsboard.io/docs/faq/#what-is-thingsboard :
ThingsBoard is an open-source server-side platform that allows you to monitor and control your IoT devices. It is free for both personal and commercial usage and you can deploy it anywhere.ThingsBoard’s Mqtt API reference: https://thingsboard.io/docs/reference/mqtt-api/
-
This reply was modified 5 years, 11 months ago by
kumajaya.
kumajaya
Participantkumajaya
ParticipantExample config, ACCESS_TOKEN as UserName:
<?xml version="1.0" encoding="utf-8"?> <DevTemplate> <MqttParams Hostname="127.0.0.1" ClientID="KpMQTTrs111" Port="1884" UserName="owMdAakfgOlUOUwF0mpB" Password=""/> <RapSrvCnf ServerHost="127.0.0.1" ServerPort="10000" ServerUser="ScadaComm" ServerPwd="12345"/> <MqttSubTopics> </MqttSubTopics> <MqttPubTopics> <Topic TopicName="v1/devices/me/telemetry" QosLevel="1" NumCnl="13" Prefix="{ "p0":" Suffix=" }" PubBehavior="OnChange" Retain="false" NDS="."/> <Topic TopicName="v1/devices/me/telemetry" QosLevel="1" NumCnl="14" Prefix="{ "p1":" Suffix=" }" PubBehavior="OnChange" Retain="false" NDS="."/> <Topic TopicName="v1/devices/me/telemetry" QosLevel="1" NumCnl="15" Prefix="{ "p2":" Suffix=" }" PubBehavior="OnChange" Retain="false" NDS="."/> <Topic TopicName="v1/devices/me/telemetry" QosLevel="1" NumCnl="16" Prefix="{ "p3":" Suffix=" }" PubBehavior="OnChange" Retain="false" NDS="."/> <Topic TopicName="v1/devices/me/telemetry" QosLevel="1" NumCnl="26" Prefix="{ "p4":" Suffix=" }" PubBehavior="OnChange" Retain="false" NDS="."/> <Topic TopicName="v1/devices/me/telemetry" QosLevel="1" NumCnl="27" Prefix="{ "p5":" Suffix=" }" PubBehavior="OnChange" Retain="false" NDS="."/> <Topic TopicName="v1/devices/me/telemetry" QosLevel="1" NumCnl="28" Prefix="{ "p6":" Suffix=" }" PubBehavior="OnChange" Retain="false" NDS="."/> <Topic TopicName="v1/devices/me/telemetry" QosLevel="1" NumCnl="29" Prefix="{ "p7":" Suffix=" }" PubBehavior="OnChange" Retain="false" NDS="."/> <Topic TopicName="v1/devices/me/telemetry" QosLevel="1" NumCnl="31" Prefix="{ "p8":" Suffix=" }" PubBehavior="OnChange" Retain="false" NDS="."/> <Topic TopicName="v1/devices/me/telemetry" QosLevel="1" NumCnl="33" Prefix="{ "p9":" Suffix=" }" PubBehavior="OnChange" Retain="false" NDS="."/> <Topic TopicName="v1/devices/me/telemetry" QosLevel="1" NumCnl="30" Prefix="{ "v0":" Suffix=" }" PubBehavior="OnChange" Retain="false" NDS="."/> <Topic TopicName="v1/devices/me/telemetry" QosLevel="1" NumCnl="32" Prefix="{ "v1":" Suffix=" }" PubBehavior="OnChange" Retain="false" NDS="."/> <Topic TopicName="v1/devices/me/telemetry" QosLevel="1" NumCnl="25" Prefix="{ "v2":" Suffix=" }" PubBehavior="OnChange" Retain="false" NDS="."/> </MqttPubTopics> <MqttPubCmds> </MqttPubCmds> <MqttSubCmds> </MqttSubCmds> <MqttSubJSs> </MqttSubJSs> </DevTemplate>
kumajaya
ParticipantSorry for my late reply, ThingsBoard expect json formatted payload: https://github.com/kumajaya/scada-community/commit/a8a7bce35deb4c3f1e0ae604be3685b47d2e1027
kumajaya
ParticipantKpMQTT + Emqtt + Telegraf + InfluxDB + Grafana:
Will be great if Grafana can access Rapid SCADA database directly.kumajaya
ParticipantWill be great! Can we embed Freeboard inside Rapid SCADA current dashboard?
kumajaya
ParticipantThe dashboard more resource hungry than Rapid SCADA but works 😀
kumajaya
ParticipantOr visualize Rapid SCADA data on Thingsboard dashboard: https://drive.google.com/file/d/1iu7C1IJTgvceWv4o-9pmIizj_fxtT2R3/view
But need MQTT driver change to add message prefix and suffix to reconstruct json formatted payload 🙁
kumajaya
ParticipantThe last release fix the problem. With ThingSpeak help, Rapid SCADA data on home screen looks very nice: https://drive.google.com/file/d/1dm5cWsnaVaxClzg-uqL6XUmPee8KieM1/view
kumajaya
ParticipantI just opened a pull request to force use periode (.) as decimal separator. Please check https://github.com/bersim/OpenKPs/pull/5/files . Thank you.
-
This reply was modified 5 years, 11 months ago by
-
AuthorPosts