• How can I change or delete the telegram id please?

    In edit mode it won't let me change it!


  • @skywatch you can edit only the token field. Other fields are auto-generated.
    I do not see an option to delete the existing token. As a workaround, If you want to delete your token, simply enter some junk values and click on the Save button.


  • @jkandasa I thought I had to add the telegram token and the telegram ID in mycontroller, no?

    Seems that the ID shown in mycontroller is not the same as the ID from telegram bot. Should they match?

    I admit I never used telegram before and only doing this to get fast alert to my phone.


  • @skywatch Yes, you have to enter only the token. all other fields are autogenerated (communicate with telegram service and get the data).

    I am seeing the user-id in the part of the token. 5508*****:AAH***** and showing the same id for me.


  • @jkandasa I set up a rule and operation.

    Both triggered but no message on phone.

    Any ideas what I may have done wrong?

    Also is there a free way to get sms from mycontroller to phone?

    Finally just to let you know I have been seeing a lot of 503 errors on the mycontroller site lately.


  • @skywatch Can you follow this post, you should get the telegram message
    https://forum.mycontroller.org/topic/312/send-telegram-bot-message

    AFAIK, there is no free SMS service. Maybe with 2.x version, we can deploy a GSM gateway to send SMS.


  • @jkandasa I did follow that post as much as I could, but where do you get the all important 'channel username' from?

    I think that's the bit I don't yet understand!


  • @skywatch It is chat_id. I do not remember why I have named as Channel username.

    To get chat_id in two ways,

    1. By API:

    • Open your telegram bot (newly created bot), send hi to that bot
    • on your browser, https://api.telegram.org/botXXX:YYYYY/getUpdates (replace your token with XXX:YYYYY, note the bot string before your token)
    • you can see your name and chat_id, use that chat_id in MyController Channel username field.

    2. By userinfobot

    • On your telegream app, search userinfobot and send hi, you will receive your user details with chat_id

  • @jkandasa Thank you sooooo much for that!

    It was the crucial bit of info/understanding that I was missing.

    It works fine now! 🙂

    If this turns out to be the same in myc2.0, I'll write a tutorial for it.

Suggested Topics

5
Online

599
Users

479
Topics

2.9k
Posts