How to handle car portal / state ?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
Post Reply
cornichon
Posts: 3
Joined: Thursday 03 May 2018 9:51
Target OS: Linux
Domoticz version:
Contact:

How to handle car portal / state ?

Post by cornichon » Thursday 03 May 2018 10:11

Hi there !
I'm a noob in domoticz
I have a topics I would like to share, and maybe get some ideas !
I have a portal to enter my car in my garden.
The portail use motors from FAAC with command board FAAC E024S.
I have 2 genuine remote control attached to my car keys and it works fine.

I consider to add a wifi connexion (ESP8266) to open or close it with my phone.
The control board has a couple of switch input (intended to be connected to an intercom for visitors).

The connexion of ESP8266 to portal is ok (I know how to do so).

But I was wondering how to handle it in domoticz considering:

- It's a "push button" type input:
normal use: if open: trig the input it will close, if close it will open.
interrupted use: if portal is moving (opening or closing), trig the input will stop it; trig again will move the opposite way (if it was closing, it will now open etc..)
- I see no signal to "read" the portal state (close, open,..?)
- I will still use my remote controls, not connected to domoticz.

Considering, this, do you think I can do something smart (like a "open or close" button) or can I only do a dummy pushbutton in domoticz.

Additionnal question: considering it's dangerous to activate the portal without supervision (if kids plays around or whatever...), for example if I touch the button by mistake in domoticz. Does it exist a kind of secure push button in domoticz ?
I mean something to avoid accident, but still comfortable to use: simple code, confirmation request etc...

Any ideas welcome :D

davidgomes
Posts: 4
Joined: Tuesday 31 July 2018 8:30
Target OS: Windows
Domoticz version:
Contact:

Re: How to handle car portal / state ?

Post by davidgomes » Tuesday 31 July 2018 8:34

I own a cheap OBDII > USB thing. I use an USB OTG cable to connect it to my Android phone. There are several apps that are able to use the connection. I personally use it for car diagnostics only. I have it in my car as standard, so that when I get a check engine light for example I can check if it's something I can drive home with or not. However it can give engine temperature information, consumption, RPM, speed and a lot more in real time. There are WIFI, Bluetooth and USB versions available. I have the USB version because the sample rate is higher and I don't want to screw around with batteries.

There are several projects you can see online. It's especially popular with people who replace their head unit with a tablet. They go all Fast and Furious with the dials on their dash and some replace their ECU with an aftermarket one so they can change maps on the go and whatever. Expensive hobby.

Anyways, these cheap OBDII dongles are generally ELM327:
A lot of info is available on this stuff online.

As I said, I only own a cheap 10 buck dongle, OBDLink is more expensive, but is generally considered to be better. I'm sure that with some programming knowledge you're able to make it work for what you want it to do.
Tutuapp https://9apps.ooo/ShowBox

chinmoypborah
Posts: 2
Joined: Saturday 17 November 2018 11:51
Target OS: Windows
Domoticz version:
Contact:

Re: How to handle car portal / state ?

Post by chinmoypborah » Saturday 17 November 2018 11:56

these cheap OBDII dongles are generally ELM327:
A lot of info is available on this stuff online.
https://installvidmate.com https://downloadluckypatcher.cohttps://get-shareit.com http://get-cartoonhd.com

User avatar
bewo
Posts: 43
Joined: Monday 13 July 2015 12:27
Target OS: Linux
Domoticz version: 4.10***
Location: Vilshofen - Bavaria - Germany
Contact:

Re: How to handle car portal / state ?

Post by bewo » Saturday 17 November 2018 13:26

It's an old post (may). But perhaps you still searching for an idea:
cornichon wrote:
Thursday 03 May 2018 10:11
Hi there !
I'm a noob in domoticz
Welcome to domoticz!
cornichon wrote:
Thursday 03 May 2018 10:11
- I see no signal to "read" the portal state (close, open,..?)
- I will still use my remote controls, not connected to domoticz.
I've done this with a little reed contact. Install it at the portal and connect with your ESP. In domoticz you can use ist as a slave device und you will have always the right status (open/close) in domoticz. Additionally for example you can use the status as an reminder. Send a push message like "Hey the sun sets and the portal is still open. Did you forget?"
cornichon wrote:
Thursday 03 May 2018 10:11
Additionnal question: considering it's dangerous to activate the portal without supervision (if kids plays around or whatever...), for example if I touch the button by mistake in domoticz. Does it exist a kind of secure push button in domoticz ?
Yes. Open your switch configuration and set "protected." (In the main settings you can change the code.)
Individual projects:
Domoticz on a Intel Xeon Server | AeonLabs Z-Wave Gen.5 | RFXCOM RFXtrx433E USB | ESP-Wifi-Modules
Wall-mounted iPad (self construct) | LUA wind monitor| LUA thermostat control | and many many more :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest