Giter Club home page Giter Club logo

com.go-e.charger's People

Contributors

oh2th avatar picsou621 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

picsou621

com.go-e.charger's Issues

No flow actions listed under “Then”

Describe the bug
Directly after installation I have seen the actions turn on/turn off but after a minute or so when creating a flow, no actions are displayed. For “If/And” actions are listed, but also had those disappeared ones.

To Reproduce
Steps to reproduce the behavior:

  1. Clean install of app
  2. Create a flow
  3. Choose “new card” new ticket?
  4. Under “Then” go to Go-e charger
  5. Empty list displayed

Expected behavior
At least 2 choices displayed “turn on” and “turn off”

Screenshots
Can add later if needed

Desktop (please complete the following information):

  • OS: iOS latest (Jan 2023) 16.1.1
  • Homey app latest 8.1.1
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: iPhone 13
  • OS: [e.g. iOS 16.1.1
  • Browser chrome (not used)
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Introduce energy monitoring based on RFID user cards

On APIv1 - RFID cards are single variables in the response to "status" query

Index Card num Card name Card energy
1 rca rna eca
2 rcr rnm ecr
3 rcd rne ecd
4 rc4 rn4 ec4
5 rc5 rn5 ec5
6 rc6 rn6 ec6
7 rc7 rn7 ec7
8 rc8 rn8 ec8
9 rc9 rn9 ec9
10 rc1 rn1 ec1

For example first card would have:

  • rca: "1" - card index of the paired RFID card or empty
  • rna: "Tapio" - name given, max 10 chars
  • eca: "5835" - energy counter (= 583.5 kWh)
"eca": "5835",
"ecr": "0",
"ecd": "0",
"ec4": "0",
"ec5": "0",
"ec6": "0",
"ec7": "0",
"ec8": "0",
"ec9": "0",
"ec1": "0",
"rca": "1",
"rcr": "",
"rcd": "",
"rc4": "",
"rc5": "",
"rc6": "",
"rc7": "",
"rc8": "",
"rc9": "",
"rc1": "",
"rna": "Tapio",
"rnm": "n/a",
"rne": "n/a",
"rn4": "n/a",
"rn5": "n/a",
"rn6": "n/a",
"rn7": "n/a",
"rn8": "n/a",
"rn9": "n/a",
"rn1": "n/a",

On APIv2 - RFID cards are in a JSON-array in response to "/api/status?filter=cards,trx" query

  • trx
    • null, for no transaction
    • 0, active transaction without RFID card
    • 1-10, active transaction with RFID card
  • cards-array - ten groups of
    • name - name given, max 10 chars
    • energy - energy counter in Wh (583524 = 583.524 kWh)
    • cardId - true or false if a RFID card is paired to the slot or not
{
  "trx":null,
  "cards":[
    {
      "name":"Tapio",
      "energy":583524,
      "cardId":true
    },
    {
      "name":"n/a",
      "energy":0,
      "cardId":false
    },
    {
      "name":"n/a",
      "energy":0,
      "cardId":false
    },
    {
      "name":"n/a",
      "energy":0,
      "cardId":false
    },
    {
      "name":"n/a",
      "energy":0,
      "cardId":false
    },
    {
      "name":"n/a",
      "energy":0,
      "cardId":false
    },
    {
      "name":"n/a",
      "energy":0,
      "cardId":false
    },
    {
      "name":"n/a",
      "energy":0,
      "cardId":false
    },
    {
      "name":"n/a",
      "energy":0,
      "cardId":false
    },
    {
      "name":"n/a",
      "energy":0,
      "cardId":false
    }
  ]
}

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.