Hauptmenü

Taster set

Begonnen von magicteddy, 19 Juli 2017, 13:45:54

Vorheriges Thema - Nächstes Thema

magicteddy

Moin,

irgendwie steh ich komplett im Wald, wahrscheinlich erschließt sich mir die Logik einfach nicht:

Eingabe in die FHEM Komandozeile: "set Abfall update 1" löst eine sofortige Aktualisierung des Abfallkalenders aus, das wollte ich jetzt in das Tablet-UI als Taster übertragen:

<div data-type="push"
   data-device="Abfall"
   data-cmd="set"
   data-set="update"
   data-set-on="1"
   class="cell">
</div>

Reaktion im Eventmonitor: Keine  :o
Hat mal Jemand eine Kettensäge um meinen Blick auf den Wald freizusägen?

-teddy
FHEM auf Dell t20 mit Ubuntu 17.10, Homematic, MiiLight,  Max Fensterkontakte, Intertechno Steckdosen und FB. 433 Mhz  CUL V 1.26.02 a-culfw Build: 20, MapleCUN V 1.23.07 a-culfw sowie HMLAN D-firmware 0.964

Standarduser

Set und set-on machen in deinem Fall das gleiche.
Du müsstest als cmd "set update" nutzen und Data-set weglassen

magicteddy

Moin,

danke für den Tipp, leider keine Besserung, keine Reaktion.
<div data-type="push"
data-device="Abfall"
data-cmd="set update"
data-set-on="1"
class="cell">
</div>


-teddy
FHEM auf Dell t20 mit Ubuntu 17.10, Homematic, MiiLight,  Max Fensterkontakte, Intertechno Steckdosen und FB. 433 Mhz  CUL V 1.26.02 a-culfw Build: 20, MapleCUN V 1.23.07 a-culfw sowie HMLAN D-firmware 0.964

StephanFHEM

Versuch mal folgendes:

data-cmd="set"  -> kannst du weglassen weil es ja eh standard ist

data-type="push"
data-device="Abfall"
data-set-on="update 1"

das sollte beim Push reichen:-)

magicteddy

Moin und danke,

leider keine Besserung  :'(

-teddy
FHEM auf Dell t20 mit Ubuntu 17.10, Homematic, MiiLight,  Max Fensterkontakte, Intertechno Steckdosen und FB. 433 Mhz  CUL V 1.26.02 a-culfw Build: 20, MapleCUN V 1.23.07 a-culfw sowie HMLAN D-firmware 0.964

amenomade

Wie sieht est jetzt aus?

Und was ist "Abfall" für ein Device? Kannst Du ein "list" davon posten?
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

magicteddy

Moin,

klar, Listing folgt, danke.

-teddy

Internals:
   DEF        myAbfall 300
   KALENDER   myAbfall
   NAME       Abfall
   NR         157
   NTFY_ORDER 50-Abfall
   STATE      6
   TYPE       ABFALL
   Helper:
     DBLOG:
       myAbfall_Altpapier_datum:
         logdb:
           TIME       1500526287.37717
           VALUE      14.08.17
       myAbfall_Altpapier_tage:
         logdb:
           TIME       1500526287.37717
           VALUE      25
       myAbfall_Altpapier_text:
         logdb:
           TIME       1500526287.37717
           VALUE        Altpapier
       myAbfall_Altpapier_wochentag:
         logdb:
           TIME       1500526287.37717
           VALUE      Montag
       myAbfall_Bioabfall_datum:
         logdb:
           TIME       1500526287.37717
           VALUE      26.07.17
       myAbfall_Bioabfall_tage:
         logdb:
           TIME       1500526287.37717
           VALUE      6
       myAbfall_Bioabfall_text:
         logdb:
           TIME       1500526287.37717
           VALUE        Bioabfall
       myAbfall_Bioabfall_wochentag:
         logdb:
           TIME       1500526287.37717
           VALUE      Mittwoch
       myAbfall_Restabfall_datum:
         logdb:
           TIME       1500526287.37717
           VALUE      03.08.17
       myAbfall_Restabfall_tage:
         logdb:
           TIME       1500526287.37717
           VALUE      14
       myAbfall_Restabfall_text:
         logdb:
           TIME       1500526287.37717
           VALUE        Restabfall
       myAbfall_Restabfall_wochentag:
         logdb:
           TIME       1500526287.37717
           VALUE      Donnerstag
       myAbfall_Wertstoffsack_datum:
         logdb:
           TIME       1500526287.37717
           VALUE      10.08.17
       myAbfall_Wertstoffsack_tage:
         logdb:
           TIME       1500526287.37717
           VALUE      21
       myAbfall_Wertstoffsack_text:
         logdb:
           TIME       1500526287.37717
           VALUE        Wertstoffsack
       myAbfall_Wertstoffsack_wochentag:
         logdb:
           TIME       1500526287.37717
           VALUE      Donnerstag
       next:
         logdb:
           TIME       1500526287.37717
           VALUE      myAbfall_Bioabfall_6
       next_datum:
         logdb:
           TIME       1500526287.37717
           VALUE      26.07.17
       next_tage:
         logdb:
           TIME       1500526287.37717
           VALUE      6
       next_text:
         logdb:
           TIME       1500526287.37717
           VALUE        Bioabfall
       next_wochentag:
         logdb:
           TIME       1500526287.37717
           VALUE      Mittwoch
       state:
         logdb:
           TIME       1500526287.37717
           VALUE      6
   READINGS:
     2017-07-20 06:51:27   myAbfall_Altpapier_datum 14.08.17
     2017-07-20 06:51:27   myAbfall_Altpapier_tage 25
     2017-07-20 06:51:27   myAbfall_Altpapier_text   Altpapier
     2017-07-20 06:51:27   myAbfall_Altpapier_wochentag Montag
     2017-07-20 06:51:27   myAbfall_Bioabfall_datum 26.07.17
     2017-07-20 06:51:27   myAbfall_Bioabfall_tage 6
     2017-07-20 06:51:27   myAbfall_Bioabfall_text   Bioabfall
     2017-07-20 06:51:27   myAbfall_Bioabfall_wochentag Mittwoch
     2017-07-20 06:51:27   myAbfall_Restabfall_datum 03.08.17
     2017-07-20 06:51:27   myAbfall_Restabfall_tage 14
     2017-07-20 06:51:27   myAbfall_Restabfall_text   Restabfall
     2017-07-20 06:51:27   myAbfall_Restabfall_wochentag Donnerstag
     2017-07-20 06:51:27   myAbfall_Wertstoffsack_datum 10.08.17
     2017-07-20 06:51:27   myAbfall_Wertstoffsack_tage 21
     2017-07-20 06:51:27   myAbfall_Wertstoffsack_text   Wertstoffsack
     2017-07-20 06:51:27   myAbfall_Wertstoffsack_wochentag Donnerstag
     2017-07-20 06:51:27   next            myAbfall_Bioabfall_6
     2017-07-20 06:51:27   next_datum      26.07.17
     2017-07-20 06:51:27   next_tage       6
     2017-07-20 06:51:27   next_text         Bioabfall
     2017-07-20 06:51:27   next_wochentag  Mittwoch
     2017-07-20 06:51:27   state           6
Attributes:
FHEM auf Dell t20 mit Ubuntu 17.10, Homematic, MiiLight,  Max Fensterkontakte, Intertechno Steckdosen und FB. 433 Mhz  CUL V 1.26.02 a-culfw Build: 20, MapleCUN V 1.23.07 a-culfw sowie HMLAN D-firmware 0.964

amenomade

Hmmm... unoffizielles Modul ;)
Habe kurz in Code geschaut. set update braucht keinen weiteren Parameter. Deswegen sollte "set Abfall update" reichen, um eine Aktualisierung zu starten.

Dann in FTUI:
<div data-type="push"
data-device="Abfall"
data-set-on="update"
class="cell">
</div>

Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

magicteddy

Moin und danke!

das wars! Traumhaft, so schnelle Hilfe  :D

-teddy
FHEM auf Dell t20 mit Ubuntu 17.10, Homematic, MiiLight,  Max Fensterkontakte, Intertechno Steckdosen und FB. 433 Mhz  CUL V 1.26.02 a-culfw Build: 20, MapleCUN V 1.23.07 a-culfw sowie HMLAN D-firmware 0.964