Hennie_Kotze

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 28 total)
  • Author
    Posts
  • in reply to: How to set up Telegram #10018
    Hennie_Kotze
    Participant

    Ok It seems like I figured it out…

    When I get ID and name of the chat, it was my ID and Chat with the bot itself.

    Once I added the bot to the group, I had to subscribe to the group as well.

    I sent a command 2 with value 1 from the device in the communicator, and the subscription mode went to “on”. I then sent /START <Password> from my phone to the GROUP, not the bot… The group then added my subscription, and VOILA!!

    Regards,

    in reply to: How to set up Telegram #10017
    Hennie_Kotze
    Participant

    Good Day,

    If I may jump into this thread… I think my query is related…

    1. I installed telegram and completed the setup.
    2. I created the new bot, and added it to a new group
    3. I received a bot token
    4. I registered the driver
    5. Received ID and Chat number using the messenger, then added that to the device configuration form
    6. Created input and output channels for the device
    7. upload configuration and restart services
    8. Line state is running normal.

    Current device tags data
    +——–+——————–+——-+———+
    | Signal | Name | Value | Channel |
    +——–+——————–+——-+———+
    | 1 | Sent notifications | 0 | 301 |
    +——–+——————–+——-+———+
    | 2 | Subscription mode | Off | 302 |
    +——–+——————–+——-+———+

    LINE LOG:

    2022-01-27 06:34:46 Communication session with the Device 3 “TELEGRAM”, type: KpTelegram
    Send request:
    https://api.telegram.org/bot5130888050:AAHJ2DkMmBBclVW7nQ69YFM30SUpD2zOI5Y/getUpdates?offset=7504815&timeout=5&allowed_updates=message
    Received response:
    {“ok”:true,”result”:[]}

    9. I can send a standard command 2 with value 1, and then the subscription mode changes to “ON”. However, I dont know if this is correct, because the manual says this step is obsolete.

    10. If I send a binary command stating the chat group name and the text ( <Chat group Name> ; Hello World ), then the commands show an error for each command I try to send.

    Comm. sessions (total / errors) : 547 / 0
    Commands (total / errors) : 2 / 1
    Requests (total / errors) : 548 / 0

    2022-01-27 06:44:13 Command to the Device 3 “TELEGRAM”, type: KpTelegram
    Subscription with name telegram test group is missing

    Any Idea what I’m doing wrong here?

    Regerds,

    in reply to: Event Description #10016
    Hennie_Kotze
    Participant

    Thank you,

    I’ll play around with it until I get it to work… At least now I’m on the right path!

    Tell me, is there a way we can swop the direction of the event messages around? Instead of having the latest event appear at the bottom, can we change it to appear at the top?

    Regards,

    in reply to: Event Description #10012
    Hennie_Kotze
    Participant

    Mikhail,

    I finally found the settings in the dictionaries, under the tabs “UNITS”, “EVENT TYPES”….

    Now the event description is working!!

    Please just give me an example of the formula used to change the state of a channel, so I can assign the correct colours to the events as well.

    Regards,

    in reply to: Event Description #10011
    Hennie_Kotze
    Participant

    Thanks Mikhail,

    I’m making progress at least…. I created the channels and used the different states to change colour. It works well.

    I just cant figure out how to create my own custom unit… I dont see any option for that… All options I see in the units table are the pre defined units, and they dont include a “Custom Unit” selection…

    Do I have to create a seperate channel as TEXT format and use a formula to do it?

    Regards,

    in reply to: Event Description #10006
    Hennie_Kotze
    Participant

    Thanks for the advice,

    But I’m still struggling with this one a bit…

    I can edit the channel properties like this:

    Quantity = STATE
    Format = ENUM TEXT
    Unit = ON / OFF
    Upper Alarm Limit = 2

    The description indicates the following:

    Channel Value = 3 / Event Description “Alarm High: ON” / Colour of text is green
    Channel Value = 2 / Event Description “Normal: ON” / Colour of text is green
    Channel Value = 1 / No Event
    Channel Value = 0 / No Event

    If I transition the channel value from 3 down to 0, then the description is “Normal:OFF” and it’s in red…

    Is this correct, or did I not configure it correcty?

    Perhaps I did not understand the point number 2 in your reply correctly??

    Is there any way I can add my own text to display as the event description?

    Regards,

    in reply to: Dynamic Picture Conditions #10005
    Hennie_Kotze
    Participant

    Thanks,

    Works like a charm! 🙂

    Regards,

    in reply to: Date & Time Source and Display #9992
    Hennie_Kotze
    Participant

    Thanks Mikhail,

    It works like a charm.

    Thanks for the help!

    Regards,

    in reply to: Date & Time Source and Display #9969
    Hennie_Kotze
    Participant

    Thanks Manjey,

    I dont fully understand how to use that…. which channel do I use to run this formula?

    Do I create a channel to the PC so I can insert the formula in that channel? I want to use the system date and time from the PC… How do I get a channel for it?

    Regards,

    in reply to: Using KpDBImport and SQL #9962
    Hennie_Kotze
    Participant

    Mikhail,

    Thank You for the response.

    Let me test it and I’ll revert back to you if I struggle.

    Regards,

    in reply to: Frame URL returns error #9945
    Hennie_Kotze
    Participant

    Thanks,

    https://rapidscada.org/ is working perfectly.

    Do you have any notes on requirements for URL’s to see camera feeds? Will RTSP stream URL’s work or not?

    Regards,

    in reply to: Communicating with Kepware OPC server #8717
    Hennie_Kotze
    Participant

    Hi tranduong257,

    Sorry I did not encounter any of those errors… I Whish I could be of more assistance but I cant, sorry.

    Regards,

    Hennie

    in reply to: Communicating with Kepware OPC server #8706
    Hennie_Kotze
    Participant

    Hi tranduong257,

    I did manage to get it working yes, but I don’t have that project with me at the moment, I will have to create a new one if I want to remember how I did it.

    What are you struggling with?

    Regards,

    in reply to: Mobile client and Rapid SCADA #6822
    Hennie_Kotze
    Participant

    Dear @arvxn01,

    In my case I had to request my service provider (Vodacom) to change my restricted APN to UN-restricted. Even while using noip, it did not work through the restricted APN.

    Hope it helps??…….

    Regards,

    Hennie_Kotze
    Participant

    Thank You Guys…

    The channel 60 is defined as a REAL, but I’m actually just reading one modbus register. The value in this channel is just the decimal representation of the word, and is actually just an Integer….

    The first code ” Val(60) == 33 ? 1 : 0; ” works like a charm!!

    Thank you!!

Viewing 15 posts - 1 through 15 (of 28 total)