RULES Command unknown

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
edstobi
Normal user
Posts: 39
Joined: 28 May 2020, 20:33

RULES Command unknown

#1 Post by edstobi » 14 Sep 2021, 13:41

Hi
I am running an espeasy
Build:⋄ 20114 - Mega32
System Libraries:⋄ ESP32 SDK v3.3.5-1-g85c43024c

I have a running Display - OLED SSD1306/SH1106 Framed
Name: OLED
the first line at Display is empty to take the infos from rules
Line 2 and 3 are provid plant information from DS2018


Generic - MQTT Import
Name OLED_INFO
Value cmdMQTT
is working

The rules is

Code: Select all

on OLED_INFO#cmdMQTT=1 do
  Publish %sysname%/IP,%ip% // I am alive and this is my address
  OLED,1,1, [OLED_INFO#Value3] Wasser wird gefordert
endon
the publish is ok
for OLED it get an error

13545470: ACT : OLED,1,1, 31.2 Wasser wird gefordert
13545477: Command unknown: OLED,1,1, 31.2 Wasser wird gefordert

Please show me the error in my rules.
THX
Last edited by edstobi on 14 Sep 2021, 13:44, edited 1 time in total.

User avatar
Ath
Normal user
Posts: 3417
Joined: 10 Jun 2018, 12:06
Location: NL

Re: RULES Command unknown

#2 Post by Ath » 14 Sep 2021, 13:44

The commands for OledFramed plugin are called 'OledFramedCmd' : https://espeasy.readthedocs.io/en/lates ... #p036-page

And because you are using spaces in the text, also need to be wrapped in quotes:

Code: Select all

on OLED_INFO#cmdMQTT=1 do
  Publish %sysname%/IP,%ip% // I am alive and this is my address
  OLEDframedcmd,1,1,"[OLED_INFO#Value3] Wasser wird gefordert"
endon
/Ton (PayPal.me)

edstobi
Normal user
Posts: 39
Joined: 28 May 2020, 20:33

Re: RULES Command unknown

#3 Post by edstobi » 14 Sep 2021, 13:58

THX
Problem solved
:D

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 25 guests