Announcement

Collapse
No announcement yet.

Post Messages from HomeSeer To a Telagram Group

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Originally posted by MattL0 View Post

    Just saying, discord seems more visually clean than telegram. A two way communication plugin would be really nice .
    This one? https://discordapp.com/

    Comment


      #32
      Yes

      Comment


        #33
        Originally posted by alexbk66 View Post

        Hi Matt, yeah, they do have API so I can have a look, later
        Hi and alexbk66 , I know this is an old thread but I was thinking about a new plugin and a bidirectional Telegram plugin looks like fun. I don't think anyone ever followed up on this so if you don't mind, I'll take a look at it. No promises at this stage!
        stefxx

        Comment


          #34
          Sure stefxx , I was thinking about various chat plugins, but porting my other plugins to HS4 takes longer than expected so yeah

          Comment


            #35
            Just saw this on nodered https://flows.nodered.org/node/node-...ib-telegrambot. Maybe that can inspire you some ideas.


            Here I will likely use that futur plugin. For now, for bidirectionally, I receive from pushover and I post from my iphone ( Shorcuts that sends a ssh command to homeseer via mqtt)
            But this ‘’system’’ is not interactional at all (can’t act on message received ). The plugin would be very welcome.

            My girlfriend may stay with pushover. Not sure about the waf here .

            Comment


              #36
              Thanks. In the meantime, I've looked into building a Telegram plugin, and this is the plan:
              - Build the plugin to operate as a Telegram "bot". Multiple bots will be supported (proof of concept already working)
              - Create event actions so messages can be send from the bot
              - Next implement event triggers to listen for commands send to the bot
              - If that all works out, eventually, create some logic to track multi-level bot conversations (so you can setup some kind of conversation)

              Since I plan to us this all with HomeSeer events, I need to come up with some logic to connect individual events into a single conversation... but that's for later.

              Suggestions welcome. The Node-Red example from looks gorgeous, but might be a stretch to implement...
              stefxx

              Comment


                #37
                I had this on my list of plugins to make, but I haven't had the time due to personal circumstances. And there are some more plugins on that list too.

                Can't find my list of features right now, but here's one suggestion: Integrate the replacement variables for sending.

                Here's a list (Can't find the HS4 version): http://help.homeseer.com/help/HS3/st...ment_variables
                Method: https://homeseer.github.io/Plugin-SD...System_String_
                Plugins I developed for HS4: Somfy Local, MiLight (LimitlessLED), Updates, Volvo (VoC), OpenTherm Gateway (OTGW)
                Running HS4 Pro on Windows 10 Pro on a Synology VM, with Node-RED running as a container.

                Comment


                  #38
                  Thanks Bernold, and offcourse. A notification without replacement variables doesn't make sense
                  stefxx

                  Comment


                    #39
                    Here is something to play with: https://forums.homeseer.com/forum/3r...ssenger-plugin
                    stefxx

                    Comment


                      #40
                      Telegram Messenger plugin is available!

                      https://forums.homeseer.com/forum/hs...elegram-stefxx
                      stefxx

                      Comment


                        #41
                        Big6 PI (version 3.54 and above) does support Telegram Messaging now natively and completely. I.e. all Big6 tools are available to use for the outgoing and incoming messages. For example you can start a HS4 event by just a keyword (or key phrase) in the incoming Telegram message. Many more possibilities with Big6.

                        Comment


                          #42
                          if you just want to send a Telegram message by using immediate script command and curl, like mentioned earlier in this thread, below is a fix that is needed since recently. I'm not sure if Telegram changed something, or curl was updated or whatever.. Anyway, text needs to be urlencoded (spaces to %20 etc.) now to work:

                          Code:
                          hs.launch("curl.exe",Chr(34)&"https://api.telegram.org/bot123456789:AbC1DeF2gHIJkLm34NOPqrsTuV5WxYZ/sendMessage?chat_id=-987654321 --data-urlencode "&Chr(34)&"text=Device value = "&hs.DeviceValueEx(3688)&" (More spaced text here if wanted :-)"& Chr(34),"/Windows/System32/",0)
                          But on HS4 I have my own, unreleased plugin for this.. ;-)
                          Plugins I developed for HS4: Somfy Local, MiLight (LimitlessLED), Updates, Volvo (VoC), OpenTherm Gateway (OTGW)
                          Running HS4 Pro on Windows 10 Pro on a Synology VM, with Node-RED running as a container.

                          Comment

                          Working...
                          X