TeslaSolarCharger icon indicating copy to clipboard operation
TeslaSolarCharger copied to clipboard

Changing Chargemode through Telegram Bot..?

Open TheKingNL opened this issue 1 year ago • 3 comments

Hi!

I have been using the Charger for some time and it works great. One question. Would it be possible to make the Telegram bot bi-directional? Like changing the "ChargeMode" using Telegram Bot commands? And maybe request like a quick overview of the charging status? Or is this not possible/very difficult?

Thanks in advance!

TheKingNL avatar Jun 01 '23 14:06 TheKingNL

For now it is not planned but I would be glad to see a PullRequest for that.

pkuehnel avatar Jun 02 '23 07:06 pkuehnel

Or is there any chance to get external control to the charge modes? Another idea: New register card below Overview with Chargemode Push Buttons to activate/deactivate. When these button would've external links, it would be possible to request them e.g with programs as source from iobroker.

soulfire89 avatar Aug 31 '23 18:08 soulfire89

Everything TSC does has an external link. Just add /swagger to the URL and you see all REST API endpoints. You can also open Chrome Dev Tools and click on the Network tab, there you see all requests how the TSC UI does them. Note: You always have to send the whole objects and can not change only one value.

pkuehnel avatar Aug 31 '23 18:08 pkuehnel