Code Monkey home page Code Monkey logo

Comments (5)

taligentx avatar taligentx commented on May 27, 2024

Hi @PascalSI - Iate response, you can find an example of using ESP8266 with Telegram at:
https://www.instructables.com/id/Telegram-Bot-With-ESP8266/

You can look at the built-in PushBullet example sketch and modify it for Telegram based on the above example. If you get this working, feel free to add a PR and I'll add it to the examples.

from dsckeybusinterface.

taligentx avatar taligentx commented on May 27, 2024

@PascalSI I've added a Telegram bot example sketch for esp8266 and esp32 that allows for control (arm/disarm) through the bot. If there are any issues with the sketch, I'll leave this issue open for feedback.

from dsckeybusinterface.

PascalSI avatar PascalSI commented on May 27, 2024

I got a problem when compiling, it gives this error:
C:\Users\User\Documents\Arduino\sketch_dec31a\sketch_dec31a.ino: In function 'void loop()': sketch_dec31a:134:9: error: 'class dscKeybusInterface' has no member named 'pauseStatus' dsc.pauseStatus = false; ^ sketch_dec31a:140:9: error: 'class dscKeybusInterface' has no member named 'pauseStatus' dsc.pauseStatus = true; ^ sketch_dec31a:154:7: error: 'class dscKeybusInterface' has no member named 'loop' dsc.loop(); ^ sketch_dec31a:183:15: error: 'class dscKeybusInterface' has no member named 'disabled' if (dsc.disabled[partition]) continue; ^ exit status 1 'class dscKeybusInterface' has no member named 'pauseStatus'

Could you tell me why this might be?

from dsckeybusinterface.

taligentx avatar taligentx commented on May 27, 2024

Which version of the library are you using? The Telegram bot will only work with the current develop branch, you'll need to download this branch manually and place it in the Arduino libraries directory.

from dsckeybusinterface.

taligentx avatar taligentx commented on May 27, 2024

The Telegram sketch is released in the new library version 2.0, feel free to re-open if there are still issues after updating the library.

from dsckeybusinterface.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.