Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. jkandasa
    3. Posts
    • Profile
    • Following 2
    • Followers 10
    • Topics 35
    • Posts 1019
    • Best 64
    • Groups 1

    Posts made by jkandasa

    • RE: change telegram id?

      @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
      posted in Troubleshooting
      jkandasa
      jkandasa
    • RE: change telegram id?

      @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.

      posted in Troubleshooting
      jkandasa
      jkandasa
    • RE: change telegram id?

      @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.

      posted in Troubleshooting
      jkandasa
      jkandasa
    • RE: change telegram id?

      @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.

      posted in Troubleshooting
      jkandasa
      jkandasa
    • RE: Merry Christmas and a Happy New Year!

      Happy holidays and happy new year!!
      I hope I get some time to get the 2.0 tech preview release by this year. (With minimal usable level). You can download and try the container version now, you cannot do anything now, since input pages are yet to develop, but you can see the high-level view 🙂 or you can have a look at the demo page.

      Source code and Readme file: https://github.com/mycontroller-org/backend
      Demo page: https://demo-v2.mycontroller.org/

      posted in General Discussion
      jkandasa
      jkandasa
    • RE: How to build a new gateway adapter to accept REST request?

      @xuch74 you have to create your own REST API server, that server should act as a REST-MQTT adapter.
      On MyController create a mycontroller device type gateway with mqtt and add topic details from your adapter.

      posted in Developers Zone
      jkandasa
      jkandasa
    • RE: How to build a new gateway adapter to accept REST request?

      @xuch74 build adapter to get data from REST API and post it to MQTT.

      posted in Developers Zone
      jkandasa
      jkandasa
    • RE: missing tag error on influxdb

      @fsgrazzutti I think when I design I might thought tag is a mandatory field. But looks like it is not.

      https://github.com/mycontroller-org/mycontroller-v1-legacy/blob/development/modules/core/src/main/java/org/mycontroller/standalone/externalserver/driver/DriverInfluxDB.java#L51

      data
                          .append(getVariableKey(sensorVariable, _config.getKeyFormat()))
                          .append(",").append(getVariableKey(sensorVariable, _config.getTags()))
                          .append(" value=").append(getValue(sensorVariable))
                          .append(" ").append(sensorVariable.getTimestamp()).append("000000");
      
      posted in Troubleshooting
      jkandasa
      jkandasa
    • RE: Time change

      @skywatch MyController does not have any specific control on DST changes. It is all about JVM capabilities in DST changes. AFAIK, JVM supports DST. MyController will overwrite your data for that hour. I do not have any idea about timers, alerts, or other scheduled operations on this duration?

      posted in Comments & Feedback
      jkandasa
      jkandasa
    • RE: user dashboard (without logging in)

      @wkwj00 There is no way to show dashboard without login. Sure, I will take a note of this request for v2.x.
      Thanks for your support!

      posted in Troubleshooting
      jkandasa
      jkandasa
    • RE: The question is about groups scenarios

      @Clone-Tv looks like there is bug. Group will not support for Script

      posted in General Discussion
      jkandasa
      jkandasa
    • RE: Rule status in dashboard

      @Daniele I do not think we have a direct option to control rules from dashboard.

      posted in Dashboard
      jkandasa
      jkandasa
    • RE: The question is about groups scenarios

      @Clone-Tv No, we can not control with MQTT

      posted in General Discussion
      jkandasa
      jkandasa
    • RE: The question is about groups scenarios

      @Clone-Tv Simple solution would be accessing the API directly.

      To turn ON

      • POST https://your-mc-host-or-ip:8443/mc/rest/resources/group/on
      • Payload:
        • [3] or [3,4]
        • group id or group ids

      To turn OFF

      • POST https://your-mc-host-or-ip:8443/mc/rest/resources/group/off
      • Payload:
        • [3] or [3,4]
        • group id or group ids

      IMPORTANT: For all the requests you should include authorization header as follows,

      • authorization: Basic YWRtaW46YWRtaW4K
      • To get base64 auth string:
      # Format: username:password
      $ echo "admin:admin" | base64 
      YWRtaW46YWRtaW4K
      

      You can get the group id by clicking the details of the group. on the address at the end you can see the group id.

      posted in General Discussion
      jkandasa
      jkandasa
    • RE: The question is about groups scenarios

      @Clone-Tv to call the group from external, you have to use API from MyController. We do not have direct options

      posted in General Discussion
      jkandasa
      jkandasa
    • RE: Unique index or primary key violation: "CONSTRAINT_4B_INDEX_4 ON PUBLIC.METRICS_DOUBLE_TYPE_DEVICE

      @Daniele This error happens when we receive multiple messages in the same timeframe. The first one will be inserted into the database and other messages will be dropped with this error.
      If you do not see impact on your data, just ignore [or] find a duplication situation and avoid it.

      posted in Troubleshooting
      jkandasa
      jkandasa
    • RE: Correct way RSSI display in current version

      @Clone-Tv Can you check this GH issue?
      https://github.com/mycontroller-org/mycontroller-v1-legacy/issues/250

      posted in General Discussion
      jkandasa
      jkandasa
    • RE: Correct way RSSI display in current version

      @Clone-Tv I think this question is more specific to Mysensors. What is the radio device are you using?

      posted in General Discussion
      jkandasa
      jkandasa
    • RE: Forward payload list too short

      @fsgrazzutti increasing RAM might help to speedup. if you have enough ram, you can increase it on the bin/start.sh file.

      posted in Troubleshooting
      jkandasa
      jkandasa
    • RE: Forward payload list too short

      @fsgrazzutti I just fixed https://github.com/mycontroller-org/mycontroller-v1-legacy/issues/511
      Changes are available on SNAPSHOT location.
      Kindly report back the status. Thanks!

      posted in Troubleshooting
      jkandasa
      jkandasa