Git Product home page Git Product logo

fhem-abstracttable's Introduction

YouTube Channel Subscribers YouTube Channel Views GitHub followers GitHub User's stars

My name is Matthias Kleine.

Self-employed trainer and software developer based in Paderborn, Germany.

💬 Ask me about Smart Home and Building automation

klein0r

ioBroker

Forum

3654 posts (187 last month, 90 this month), 25 topics - follow me

ioBroker adapter list (my adapters)

Adapter Beta-Version Stable-Version Installations Weekly Downloads Issues
Trash Schedule Trash Schedule 3.3.0
147 days ago
7685 users
3.3.0
7685 users
10993 333 6
OctoPrint OctoPrint 5.1.0
333 days ago
2121 users
5.1.0
2121 users
2457 87 6
Awtrix 3 (Awtrix Light) Awtrix 3 (Awtrix Light) 1.3.0
52 days ago
1352 users
1.3.0
1352 users
2055 146 10
Luftdaten Luftdaten 4.0.0
44 days ago
736 users
4.0.0
736 users
1470 130 1
Birthdays Birthdays 3.0.1
88 days ago
971 users
3.0.1
971 users
1324 56 3
LaMetric LaMetric 3.4.0
16 days ago
28 users
3.3.0
172 users
376 225 5
YouTube YouTube 5.0.0
172 days ago
118 users
5.0.0
118 users
272 35 1
Gira IoT Gira IoT 0.5.0
178 days ago
155 users
0.5.0
155 users
252 21 2

ioBroker adapter list (heavy contribution)

Adapter Beta-Version Stable-Version Installations Weekly Downloads Issues
Script Engine Script Engine 8.8.3
17 days ago
2143 users
8.7.6
23121 users
54947 3747 105
Shelly Shelly 8.2.0
3 days ago
497 users
7.0.0
16326 users
29002 1981 35
Node-RED Node-RED 5.2.1
148 days ago
8287 users
5.2.1
8287 users
14112 378 28
PV-Forecast PV-Forecast 3.0.0
84 days ago
3750 users
3.0.0
3750 users
5760 240 5
Statistics for states Statistics for states 2.4.0
324 days ago
2755 users
2.4.0
2755 users
3328 73 3

ioBroker Master Kurs

fhem-abstracttable's People

Contributors

klein0r avatar patricsperling avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

patricsperling

fhem-abstracttable's Issues

PERL WARNING bringt FHEM zum Absturz

2019.03.07 19:30:03 1: PERL WARNING: Use of uninitialized value $currentRow[1] in join or string at ./FHEM/98_abstracttable.pm line 105.

define tabelle_arbeitszahlen abstracttable WaermepumpeWertesammler setuuid tabelle_arbeitszahlen 5c816033-f33f-221a-a1ea-94eed3f1f3fd2c0a attr tabelle_arbeitszahlen room 30_Technik->Waermepumpe attr tabelle_arbeitszahlen table-header Verbrauch,Arbeitszahl,Soli_min,Waermemenge,Tackte Hz,Tackt WWZirk,Verdichter Starts attr tabelle_arbeitszahlen table-rowtemplate StromverbrauchWaermepumpeTag_vor_%d_Tagen,ArbeitszahlTag_vor_%d_Tagen,SoleaustrittTagMinTemp_vor_%d_Tagen,WaermemengeGesamtTag_vor_5d_Tagen,TacktHzTag_vor_%d_Tagen,TacktZirkWwTag_vor_%d_Tagen,VerdichterStartsTag_vor_%d_Tagen

Sortierung

Hi,

ich möchte gerne noch eine Sortierung durchführen, wie mache ich das?
Möchte eine Spalte angeben und wie rum sortiert werden soll....

edit cool währe es wenn man auch 2 oder mehr Spalten angeben könnte...

Grüßle

Pascal

Add HTML-table-Output as reading to abstracttable?

Hi,
first of all your module works as a charme.
Would it be possible to add the html code of the created table as a reading to the device?
Background:
Node Red also has a table widget. If I would get the html code of the table, I can transform this html code to JSON-format (published to a mqtt-broker) so I can use it in Node Red.
Best would be if the abstracttable module would create a reading in JSON format :-)
Example:
HTML-Code:
<table class="block wide abstract-table"><thead><tr><th>Datum</th><th>Klasse</th><th>Stunde</th><th>Fach</th><th>Art</th><th>regulär_bei</th><th>Vertretung_durch</th><th>in_Raum</th></tr></thead><tbody><tr class="even"><td>2020-03-02</td><td>6B</td><td>1</td><td>---</td><td>Entfall</td><td>GLA</td><td>---</td><td>---</td></tr><tr class="odd"><td>2020-03-02</td><td>6B</td><td>2</td><td>---</td><td>Entfall</td><td>WIK</td><td>---</td><td>---</td></tr><tr class="even"><td>2020-03-02</td><td>6B</td><td>2</td><td>---</td><td>Entfall</td><td>GLA</td><td>---</td><td>---</td></tr><tr class="odd"><td>2020-03-02</td><td>6B</td><td>4 - 5</td><td>T</td><td>Raum-Vtr.</td><td>HID</td><td>HID</td><td>KKS-T2</td></tr><tr class="even"><td>2020-03-02</td><td>6B</td><td>4 - 5</td><td>T</td><td>Raum-Vtr.</td><td>BIS</td><td>BIS</td><td>KKS-T1</td></tr><tr class="odd"><td>2020-03-02</td><td>6B</td><td>6</td><td>---</td><td>Entfall</td><td>WEI</td><td>---</td><td>---</td></tr><tr class="even"><td>2020-03-03</td><td>6B</td><td>1</td><td>---</td><td>Entfall</td><td>WEB</td><td>---</td><td>---</td></tr><tr class="odd"><td>2020-03-03</td><td>6B</td><td>1 - 2</td><td>REL</td><td>Sondereins.</td><td>-</td><td>EWE</td><td>202</td></tr><tr class="even"><td>2020-03-03</td><td>6B</td><td>2</td><td>---</td><td>Entfall</td><td>GLA</td><td>---</td><td>---</td></tr><tr class="odd"><td>2020-03-03</td><td>6B</td><td>4</td><td>M</td><td>Statt-Vertretung</td><td>BOL</td><td>SHZ</td><td>202</td></tr></tbody></table>

JSON-Code:
[
{
"Datum": "2020-03-02",
"Klasse": "6B",
"Stunde": "1",
"Fach": "---",
"Art": "Entfall",
"regulär_bei": "GLA",
"Vertretung_durch": "---",
"in_Raum": "---"
},
{
"Datum": "2020-03-02",
"Klasse": "6B",
"Stunde": "2",
"Fach": "---",
"Art": "Entfall",
"regulär_bei": "WIK",
"Vertretung_durch": "---",
"in_Raum": "---"
},
{
"Datum": "2020-03-02",
"Klasse": "6B",
"Stunde": "2",
"Fach": "---",
"Art": "Entfall",
"regulär_bei": "GLA",
"Vertretung_durch": "---",
"in_Raum": "---"
},
{
"Datum": "2020-03-02",
"Klasse": "6B",
"Stunde": "4 - 5",
"Fach": "T",
"Art": "Raum-Vtr.",
"regulär_bei": "HID",
"Vertretung_durch": "HID",
"in_Raum": "KKS-T2"
},
{
"Datum": "2020-03-02",
"Klasse": "6B",
"Stunde": "4 - 5",
"Fach": "T",
"Art": "Raum-Vtr.",
"regulär_bei": "BIS",
"Vertretung_durch": "BIS",
"in_Raum": "KKS-T1"
},
{
"Datum": "2020-03-02",
"Klasse": "6B",
"Stunde": "6",
"Fach": "---",
"Art": "Entfall",
"regulär_bei": "WEI",
"Vertretung_durch": "---",
"in_Raum": "---"
},
{
"Datum": "2020-03-03",
"Klasse": "6B",
"Stunde": "1",
"Fach": "---",
"Art": "Entfall",
"regulär_bei": "WEB",
"Vertretung_durch": "---",
"in_Raum": "---"
},
{
"Datum": "2020-03-03",
"Klasse": "6B",
"Stunde": "1 - 2",
"Fach": "REL",
"Art": "Sondereins.",
"regulär_bei": "-",
"Vertretung_durch": "EWE",
"in_Raum": "202"
},
{
"Datum": "2020-03-03",
"Klasse": "6B",
"Stunde": "2",
"Fach": "---",
"Art": "Entfall",
"regulär_bei": "GLA",
"Vertretung_durch": "---",
"in_Raum": "---"
},
{
"Datum": "2020-03-03",
"Klasse": "6B",
"Stunde": "4",
"Fach": "M",
"Art": "Statt-Vertretung",
"regulär_bei": "BOL",
"Vertretung_durch": "SHZ",
"in_Raum": "202"
}
]

JSON created from HTML by https://www.convertjson.com/html-table-to-json.htm

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.