Hardware Directory Topic is solved

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Docc
Posts: 22
Joined: Saturday 02 May 2015 8:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Sweden
Contact:

Hardware Directory

Post by Docc »

Where in the Rpi can I find the Hardware Directory that is mentioned in the beginning of this wiki?
https://www.domoticz.com/wiki/Developin ... are_plugin
SweetPants

Re: Hardware Directory

Post by SweetPants »

/home/pi/domoticz/hardware maybe?
Docc
Posts: 22
Joined: Saturday 02 May 2015 8:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Sweden
Contact:

Re: Hardware Directory

Post by Docc »

no, not on my Pi :-(
I've search the entire disk with WinSCP, can't find any Hardware directory...
SweetPants

Re: Hardware Directory

Post by SweetPants »

You only find this directory if you install from source. If you use the SD card image you won't find it
bassmint
Posts: 12
Joined: Wednesday 25 November 2015 16:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Brooklyn USA
Contact:

Re: Hardware Directory

Post by bassmint »

SweetPants wrote:You only find this directory if you install from source. If you use the SD card image you won't find it
I am looking for this as well. Are the hardware items not editable on the SD Card image?
Is there somewhere else to look?
Thanks in advance
bassmint
Posts: 12
Joined: Wednesday 25 November 2015 16:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Brooklyn USA
Contact:

Re: Hardware Directory

Post by bassmint »

Is there any other possible way to get to the hardware folder using the SD card install?
pepijn
Posts: 251
Joined: Friday 12 July 2013 13:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Hardware Directory

Post by pepijn »

To develop hardware support you need to download the sources from github and start coding in C :-)
Carthman
Posts: 31
Joined: Friday 08 February 2019 8:35
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: France
Contact:

Re: Hardware Directory

Post by Carthman »

Hi,

Why can't we see the hardware directory if you don't use the installation from source ?
I mean it should be somewhere because you can use the hardwares inside this directory !
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Hardware Directory

Post by waaren »

Carthman wrote: Monday 05 October 2020 1:40 Why can't we see the hardware directory if you don't use the installation from source ?
I mean it should be somewhere because you can use the hardwares inside this directory !
The hardware source directory does contain the C++ code (.cpp and .h) files.
These files are used for compiling the domoticz binary and after that they are no longer needed for running domoticz.

The control of the domoticz hardware tab is done by ./www/app/hardware/Hardware.js and ./www/app/hardware/Hardware.html
These files are maintained on this github.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Carthman
Posts: 31
Joined: Friday 08 February 2019 8:35
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: France
Contact:

Re: Hardware Directory

Post by Carthman »

OK I understand, thanks for your explanation !
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest