openHASP: An MQTT driven Touchscreen / Scene controller

I tried to download the OTA file and I only can load the full version.

Thanks for testing. I have now added links for the OTA binaries too.

1 Like

Loaded fine and seems good so far! Thanks for all your work!!

1 Like

Iā€™m happy to announce the release of openHASP 0.6.3. Please check out the release notes for the notable changes. It includes quite a list of improvements, new features and bug fixes.

We can now also be found on www.openhasp.com and you can install the firmware using the openHASP Web Installer.

I havenā€™t had much time with openhasp lately and didnā€™t have a chance to beta test 0.6.3 sorry. Just wanted to say thanks though :slight_smile:

1 Like

hello, this is great with options for windows, but is there any description?
Almost everyone (Platformio) uses VS (VisualStudio) but it is difficult to find a proper description. VS itself is not easy (new project selection)
To be honest Iā€™m at the point where Iā€™d happily pay to get a proper description in German.
HASSIO can also be installed via Windows, and letā€™s be honest, where can you buy a PC or tablet with Rasbian?
First of all, I donā€™t understand what should be ā€œloadedā€ where? In HomeAssistant ā€œconfig.yamā€ or in Plate ā€œFile Editor ā†’ configuration.yamlā€?
Itā€™s really very confusing. HomeAssistant finds almost everything that is connected via MQTT, and if it doesnā€™t appear, you can still add it as an ā€œMQTT deviceā€, like any sensor.

What I want and I need help with that, but I canā€™t find a description.

Home Assistant can be operated on any device, you only need a browser.

There is also an app, such as for the phone/tablet, weā€™re talking about ā€œDash interfaceā€ and how it should look can be set by anyone. (ā€œdesignedā€)

Adding a ā€œswitch plateā€ (regardless of which display, Nextion or other) to HomeAssistant as an ā€œMQTT deviceā€ is not the problem.
However, I would like to use it as a thermostat and soil moisture monitor, after all you can connect a lot to an ESP32.
These sensors should land on HomeAssistant via MQTT, but also be shown on the display. (if possible, several pages) Automation takes place either in HomeAssistant or Alexa.
Example:

The heating is already integrated in the Homeassistant (and in Alexa/Google Home). The ā€œHASP switch plateā€ displays the temperature (DHT connected) and when it reaches a certain level, the heater turns on/off.

Just like with soil moisture. If it is below a certain value, the garden pump (which is already integrated) is switched on and you should be able to see on the display whether it is on or not.

What can be seen in many examples, however, is more of a ā€œsecond dashboardā€ of HomeAssistant.

So I donā€™t quite understand the applicationā€¦
Should it function as a ā€œstandalone deviceā€ or just as a ā€œsecond displayā€?

It can be both, but currently only binary sensors (switch or buttons) are supported for input. Output pins can be configured as relays, PWM or serial dimmer by default.

I would like to use it as a thermostat and soil moisture monitor, after all you can connect a lot to an ESP32.

Yes, the ESP32 has a lot of pins and it can support a lot of sensors. In your case, you will need to add the drivers for the sensors you need (DHT and moisture). For such use cases we provide a way to add custom code to openHASP.

Thank you very much for your answer.
I already looked at this page 8is still open) just donā€™t understand how to set/use it?
With Tasmota I was able to install the .bin (.63) very quickly. I didnā€™t have to change the pins, everything went through quickly without errors, and the IP address was also shown on the display. (I only know that from HomePoint) I think thatā€™s really great!!! On the webpage I understand the menu function, but not what and how to change/install.

Yes, soil moisture sensor (as an input) works, it is ā€œdeliveredā€ to HomAssistant, I just donā€™t see it on the display. The relays (out) are also exactly the same.
Iā€™m sure Iā€™m doing something wrong, I just donā€™t know what that is.

Hello,
Please donā€™t misunderstand me, but I really want to finally installā€¦ (even 6 pieces!!!)

Iā€™ve read everything, but I still donā€™t understand how to put it together for your own needs.
I use ā€œAZ Touch-Modā€.bin because that works on display including ā€œcalibrationā€. (I donā€™t know how to add the temperature sensors to this variant with GITPOD, platformio only reports ā€œerrorā€)

Iā€™m trying to close the pages
create but I donā€™t understand itā€¦

https://www.openhasp.com/0.6.3/integrations/home-assistant/sampl_conf/

  1. You must have a file called ā€œpages.jsonlā€
    that is clear.
    This will be created automatically and the basic information is here:
    ā€œpageā€: 1,
    ā€œidā€: 10,
    ā€œwā€: 240,
    ā€œobjā€: ā€œlabelā€,
    ā€œtextā€: ā€œ%hostname%ā€
  2. there are 2 other files,
    ā€œoffline.cmdā€ and ā€œonline.cmdā€
    You can design it yourself, thatā€™s okay. (Handle Offline State - openHASP)

But!
How to understand?
Do I have to have many ā€œpages.jsonlā€?
One file for each page?

Where should I install what should be visible on every page, including under ā€œpages.jsonlā€? I mean ā€œpage:0ā€

Do I also need to put something in the config.json file?

You cannot add a temperature sensor unless

  1. You add the sensor code to the source code, and

  2. you then compile the software yourself

So letā€™s put that aside for a moment until you get the basics working.

I think youā€™d be best to start reading from the Design section of the docs, starting here Pages - openHASP. Just read each page through to the end. I know it is difficult for a non English speaker, but please come back here if you donā€™t understand.

In terms of designing your own user interface, the best thing is to get a sheet of squared graph paper and work out what you want on each page. There are some really good examples of what you can do in the docs, see the first page openHASP - if you click on the pictures it will take you to the code, for example this page Dash UI - openHASP.

Once you have coded the look, then, assuming you are using home assistant as the back end, you have to code some automations that will either react to you touching buttons on the UI or will send data to the UI for display, as well as change home assistant entites.

As a concrete example, if you have an up icon/button to raise the temperature and a label with the current temperature setting, you have to code home assistant to react to that button press to increase the temperature of a climate device, and to send back to openhasp the current setting to put on the label.

1 Like

so thank you for taking the timeā€¦

ā€œback endā€

I do not understand thatā€¦

HASSIO= PI
(OS installation with Supervisor)

To understand:

I donā€™t have a problem with framing!!!

Where should this be installed please?

Currently I have Page1, but Iā€™m missing the time, and the ā€œhouse iconā€ which should actually be ā€œPage0ā€ā€¦

All pages (Page0-1-2-3) are to be saved in the same file ā€œpages.jsonlā€?
Do I have to leave empty gaps between defining pages?

I donā€™t know these things!!!

Iā€™ve already installed a few displays, I especially like Nextion, but this one in the Delivery box is a disasterā€¦

Regarding sensors:

Before I start designing, I want to know what Iā€™m designingā€¦
I donā€™t have thermometers in every room, so I bought sensors.
Originally, the sensors were on the Mega with a Sisplay signā€¦ But the box isnā€™t pretty and MQTT (WLAN on Serial3) doesnā€™t really work eitherā€¦ But the touch and display works!!! Without having used a scale!!!

ā€œAutomationā€(???)
Donā€™t you mean ā€œservicingā€???

I have a slightly different understanding of automation, which works great for me, but I think your understanding of it is ā€œrulesā€ā€¦
Automation (maybe Iā€™m too old) is like in your carā€¦
You turn the key and everything starts automaticallyā€¦ Although that only happens because turning the key gives power to all the sensors, and they work because of the setting.
So automation is in my sense: If the soil moisture is too dry, the garden pump is switched on, the valve on the tree box that needs water is opened, the others remain closed! It works the same way in the garden, and in the pool too.

Example Configurations - openHASP

I do not understand that!!!

where should this be installed?

openHASP-custom-component config:

in which file?

pages.jansonl?
or
config.json?

or does it have to be created as a file and uploaded?

OpenHASP needs to co-operate and be controlled by something a back end - I assume you are using home assistant for this. See under ā€œIntegrationsā€ in the documentation.

Where to place the files is dealt with here Pages - openHASP

The layout of the pages can be defined in several ways:

  • by creating a special file on the flash file system, which will be loaded and the layout with the objects displayed each time HASP starts up.
  • by issuing commands through MQTT to draw/change the objects immediately

You can create the file with your favourite text editor and upload it (and other resource assets like fonts) using the web interface HASP Design menu.

yes

no

I mean what you see in the Home Assistant integration docs How-To - openHASP

Like the docs say, in your home assistant configuration.yaml

Again, in the docs.

no

What accusation did I make?

Again, no one said that you are stupid. I for one donā€™t have enough skills to add a sensor, if I needed one I would write some code and try to compile it, if it didnā€™t work I would post what I had written and the error message and ask for help. You have been pointed to the hooks for additional sensors. What code have you tried for your sensors?

1 Like

Then it wonā€™t workā€¦
I did have HACS installed in HomeAssistant, I also see it under ā€œAdd integrationsā€ but it doesnā€™t integrateā€¦

Maybe thatā€™s why I have a problem and I canā€™t get any furtherā€¦

In HASSIO I can add sensors, in MQTT. In Arduino I can install sensors. Only under AZ-TouchMod.bin I canā€™t do it and thatā€™s why HASP doesnā€™t have a termostat.

It will work, because it works for me and many others.

ā€œDoesnā€™t integrateā€ is meaningless. Logs are there for a reason. Error messages are there for a reason.

1 Like

My HA also works without HACS for my purposes.
The question I had yesterday was:
ā€œDo I absolutely have to have HACS (which I donā€™t know)?ā€ -no.
ā€œCan I install my display differently in HA?ā€ -yes (ESP-Home works, Tasmota works.

Iā€™m not sure, but I think the only difference with ā€œopenHASPā€ is that it integrates with HACS, which (if HACS worked) makes the installation easier.

But they are all the same in one thing:
ā€œa relationshipā€ must be established on HA.
However, this is easier to do with Tasmota and also with EasyESP. All connected sensors are installed correctly, including temperature sensors.

So I think it has become clear to me that this ā€œopenHASPā€ is not suitable for me because of the missing HACS and no possibility for temperature sensors.
In ESPHome I can also use all display settings, including the background (black). The difference may be that the setup based on ā€œArduino and MQTTā€ is more understandable, and you actually only ā€œcoupleā€ a ā€œsecond dashboardā€, however with all connectionsā€¦

Thank christ, youā€™ll never need to post in this thread again.

No HACS is not needed. I keep directing you to the docs, but it is pointless if you donā€™t read them.

You have the option to install the custom component using HACS or via manual download:

2 Likes

openHASP has been open source from its conception. It was created out of a personal need, but shared with ā€œwhomever it concernsā€. We have applied a permissive MIT License, so the community can benefit from itā€¦ or not.

Many users (not customers!) use the firmware with success. Numerous people have contributed to the code, docs, translations, examples, support, donationsā€¦ Iā€™m very sorry this project is not up to your expectations. And, like you said, maybe openHASP is not suitable for your use case.

At least we tried to help. I wish you all the best.

1 Like

I think you didnā€™t understand meā€¦

I always looked at the sites you recommendedā€¦

Still donā€™t get it???

  1. It starts with the missing language version, German.
    2nd from Windows to Ubuntu, or whatever itā€™s called, itā€™s like a plane falling into the waterā€¦ Submarineā€¦ 0 understandingā€¦ And Iā€™m not aloneā€¦ Most people use Windows , Apple, Android (Google)ā€¦

  2. It doesnā€™t matter which side you send, itā€™s written in such a way that you donā€™t understand itā€¦ Iā€™m not a programmer, I havenā€™t even learned to write on a PCā€¦ no ITā€¦ No picture, right correct reference like ā€œyou install that there, and then it looks like this, that goes there and looks like thisā€ I donā€™t understand, and you can see it, many others canā€™t either (find some posts, not for nothing)

There is no lack of my will, but of the available materials, as an understandable helpā€¦

I donā€™t know how old you are, but from the age of 50 your brain is no longer as capable of learning as it was at 20ā€¦ I wish you that in your later years you can always take the time to ā€œfollow the technologyā€, and to be able to keep you up to date, because without this, when you are a little older, you will be in the same boat as me and many othersā€¦