Git Product home page Git Product logo

mqttowfs's Introduction

Build Status Coverage Status Codacy Badge

MqttOwfs

Mqtt daemon to communicate with one wire device.

Introduction

This daemon send Mqtt message for state device and receive Mqtt command for input device. MqttOwfs use owserver, the backend component of the OWFS 1-wire bus control system. See http://owfs.org/ for more information on OWFS 1-wire bus control system.

Features

  • Automatic detection of devices
  • Supported device without configuration file DS2405, DS18S20, DS1920, DS2406, DS2407, DS2423, DS2450, DS1921, DS1822, DS2438, DS18B20, DS2408, DS2413, DS18B25
  • All devices are supported by simple configuration file
  • OWFS can be install to another server
  • Possibility to set temperature and pressure unit

See the wiki for more informations.

Licence

MqttOwfs is free software : you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

MqttOwfs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with MqttOwfs. If not, see http://www.gnu.org/licenses/.

mqttowfs's People

Contributors

fragjage avatar tomdevlaminck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mqttowfs's Issues

MQTT client id not in documentation

Sorry,

my mistake: it is possible to set the client id by using "id=" in the config.
But this fact is not in the documentation https://github.com/FragJage/MqttDaemon/wiki/Configuration

Hi,

my MQTT Server VerneMQ rejects MqttOwfs to login, because of an empty client id:

vernemq    | 16:59:38.275 [warning] can't authenticate client {[],<<"anon-/4fHUQ6JX7jPeF4/r+hv+XflueY=">>} from 172.25.0.1:49058 due to invalid_credentials
vernemq    | 16:59:38.376 [warning] empty client id not allowed in mqttv3 {[],undefined}

In the documentation of MqttDaemon I see no way, to set the client_id, correct!?
Cloud it be possible to either implement it or set it to a fixe value like "mqttowfs"

You can see here http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html in section 3.1 that "All but the Client identifier are optional" => you need to set the client_id

build succesfull but can't starting daemon

Hi,

build on a nux ubuntu x86_64
make Scanning dependencies of target MqttOwfs [ 2%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/FragFramework/ src/Plateforms.cpp.o [ 5%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/FragFramework/ src/SafeFunctions.cpp.o [ 8%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/FragFramework/ src/StringTools.cpp.o [ 10%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/MqttDaemon/src /MqttDaemon.cpp.o [ 13%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/MqttDaemon/src /MqttClient.cpp.o [ 16%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/MqttDaemon/src /MqttBase.cpp.o [ 18%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/owfscpp/src/ow fscpp.cpp.o [ 21%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/ServiceSkeleto n/src/Service.cpp.o [ 24%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/SimpleFolder/s rc/SimpleFolders.cpp.o [ 27%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/SimpleIni/src/ SimpleIni.cpp.o [ 29%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/SimpleLog/src/ SimpleLog.cpp.o [ 32%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/SimpleSock/src /SimpleSock.cpp.o [ 35%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/SimpleSock/src /SimpleSockTCP.cpp.o [ 37%] Building CXX object src/CMakeFiles/MqttOwfs.dir/MqttOwfs.cpp.o /opt/MqttOwfs/src/MqttOwfs.cpp:427:30: warning: unused parameter ‘argc’ [-Wunused-par ameter] int MqttOwfs::DaemonLoop(int argc, char* argv[]) ^ /opt/MqttOwfs/src/MqttOwfs.cpp:427:47: warning: unused parameter ‘argv’ [-Wunused-par ameter] int MqttOwfs::DaemonLoop(int argc, char* argv[]) ^ [ 40%] Building CXX object src/CMakeFiles/MqttOwfs.dir/owDevice.cpp.o [ 43%] Building CXX object src/CMakeFiles/MqttOwfs.dir/main.cpp.o [ 45%] Linking CXX executable bin/MqttOwfs [ 45%] Built target MqttOwfs Scanning dependencies of target unittest [ 48%] Building CXX object test/CMakeFiles/unittest.dir/__/dependencies/FragFramework /src/StringTools.cpp.o [ 51%] Building CXX object test/CMakeFiles/unittest.dir/__/dependencies/FragFramework /src/Plateforms.cpp.o [ 54%] Building CXX object test/CMakeFiles/unittest.dir/__/dependencies/FragFramework /src/SafeFunctions.cpp.o [ 56%] Building CXX object test/CMakeFiles/unittest.dir/__/dependencies/FragFramework /src/UnitTest.cpp.o [ 59%] Building CXX object test/CMakeFiles/unittest.dir/__/dependencies/MqttDaemon/sr c/MqttDaemon.cpp.o [ 62%] Building CXX object test/CMakeFiles/unittest.dir/__/dependencies/MqttDaemon/sr c/MqttClient.cpp.o [ 64%] Building CXX object test/CMakeFiles/unittest.dir/__/dependencies/MqttDaemon/sr c/MqttBase.cpp.o [ 67%] Building CXX object test/CMakeFiles/unittest.dir/__/dependencies/owfscpp/src/o wfscpp.cpp.o [ 70%] Building CXX object test/CMakeFiles/unittest.dir/__/dependencies/ServiceSkelet on/src/Service.cpp.o [ 72%] Building CXX object test/CMakeFiles/unittest.dir/__/dependencies/SimpleFolder/ src/SimpleFolders.cpp.o [ 75%] Building CXX object test/CMakeFiles/unittest.dir/__/dependencies/SimpleIni/src /SimpleIni.cpp.o [ 78%] Building CXX object test/CMakeFiles/unittest.dir/__/dependencies/SimpleLog/src /SimpleLog.cpp.o [ 81%] Building CXX object test/CMakeFiles/unittest.dir/__/dependencies/SimpleSock/sr c/SimpleSock.cpp.o [ 83%] Building CXX object test/CMakeFiles/unittest.dir/__/dependencies/SimpleSock/sr c/SimpleSockTCP.cpp.o [ 86%] Building CXX object test/CMakeFiles/unittest.dir/__/src/MqttOwfs.cpp.o /opt/MqttOwfs/src/MqttOwfs.cpp:427:30: warning: unused parameter ‘argc’ [-Wunused-par ameter] int MqttOwfs::DaemonLoop(int argc, char* argv[]) ^ /opt/MqttOwfs/src/MqttOwfs.cpp:427:47: warning: unused parameter ‘argv’ [-Wunused-par ameter] int MqttOwfs::DaemonLoop(int argc, char* argv[]) ^ [ 89%] Building CXX object test/CMakeFiles/unittest.dir/__/src/owDevice.cpp.o [ 91%] Building CXX object test/CMakeFiles/unittest.dir/TestowDevice.cpp.o [ 94%] Building CXX object test/CMakeFiles/unittest.dir/TestMqttOwfs.cpp.o /opt/MqttOwfs/test/TestMqttOwfs.cpp:158:41: warning: unused parameter ‘pMqttDev’ [-Wu nused-parameter] void TestMqttOwfs::ThreadConf(MqttOwfs* pMqttDev) ^ [ 97%] Building CXX object test/CMakeFiles/unittest.dir/main.cpp.o [100%] Linking CXX executable bin/unittest [100%] Built target unittest

/MqttOwfs
2019-01-31 21:05:33 ERROR MqttOwfs.cpp l.163 RefreshDevices Unable to find owdevices : SimpleSockTCP::Connect: unable to connect (system error 111)
^C
root@nuc:/opt/MqttOwfs/src/bin# ./MqttOwfs -f /etc/MqttOwfs/MqttOwfs.conf

Usage :
./MqttOwfs -start To start the daemon
./MqttOwfs -stop To stop the daemon
./MqttOwfs -restart To restart the daemon
./MqttOwfs -console To start on the console

MqttOwfs as a service

Hello, first of I want to thank you for writing this service.
I have modified it so that I can transfer all the counter values and temp values to mqtt and than I visualize it with grafana.

My problem is that i want to start it as a service.

So I added a file /etc/systemd/system/multi-user.target.wants/mqttowfs.service
But this doesnt start the mqttowfs process on boot.
Do you have an example service file? That would help me a lot.
Maybe add it to your already fantastic wiki.
Thank you very much
Tom

[Unit]
Description=MqttOwfs
After=network-online.target mosquitto.service
Wants=network-online.target mosquitto.service

[Service]
Type=forking
User=daemon
Group=daemon
ExecStart=/usr/bin/MqttOwfs -start --configfile /etc/MqttOwfs.conf
Restart=always

[Install]
WantedBy=multi-user.target

service unstable with the new feature

Hi,

with the new feature, the service hangs.

My config:
[ID/ispresent]
displayname = Garagen_Tuer
refreshinterval = 1
uncachedread = true

[ID/ispresent]
displayname = Garagen_Tor_Offen
refreshinterval = 1
uncachedread = true

[ID/ispresent]
displayname = Garagen_Fenster
refreshinterval = 1
uncachedread = true

Log:
May 19 22:59:52 nuc systemd[1]: mqttowfs.service: State 'stop-sigterm' timed out. Killing. May 19 22:59:52 nuc systemd[1]: mqttowfs.service: Killing process 5840 (MqttOwfs) with signal SIGKILL. May 19 22:59:52 nuc systemd[1]: mqttowfs.service: Failed with result 'timeout'. May 19 22:59:57 nuc systemd[1]: mqttowfs.service: Service hold-off time over, scheduling restart.

owfs server restarts -> mqttowfs service stops

Dear François,

First I want to wish you a good new year and may you have no corona or your family.
I would like to ask you something. As I am using your service now to feed my grafana, I noticed that the service stopped exacly at 2:01 AM every day. As it turns out I forgot that my small network router that runs openwrt reboots at that time every day. This device has as a sole purpose to run as an owserver. It is connected to a usb->onewire adaptor. The owserver server running on it servers several openhab instances and some RRD loggings by unix scripting. It is not so stable over time so I had to insert a cron entry that it restarts.

My question is now is it configurable as I looked in the code that does the owfs <-> socket (https://github.com/FragJage/owfscpp) I see this code :

try
{
    m_OwfsSock.Send(sendBuffer, total);
}
catch(SimpleSock::Exception &e)
{
    if(!m_Persistence) throw;
    m_PersistenceMode = PERSISTENCE_RETRY;
    Connect();
    m_OwfsSock.Send(sendBuffer, total);
}

So I guess when the connection is lost it should reconnect if the mode is PERSISTENCE_RETRY.
But looking at the code of SimpleSock.cpp the open will fail as the owserver is unavailble as the host is restarting.

As a solution the main program loop could handle the error but not crash (deamon loop?) and so when the owserver is again active recover.

I see this as a great improvement because not only the owserver process can become temporily unavailable, but the network can go partially down or something else.

Could you please look into this, if there is a simple solution to it?
A simple test would be to setup a owfs server on a raspberry pi for example or a linux machine, stopping it and then on the other machine running mqttowfs seeing is the service stays alive and reconnects when the owfs becomes available.
It is also the same problem when the mqtt becomes tempory unavailable I think, but for my situation the mqttowfs service runs on the same host as the mosquitto service.

Greetings

Tom

Screenshot 2021-01-07 at 22 31 08

TCP/TLS connect failure

I get a failure on connect.

I dont use TLS normally for my MQTT server, just running clear text.

Is it possible to connect using non-TLS ?

retain and QOS

Hi,

it was cool, to set the retain and QOS flag for global section and disable for each devices, too.

br
leschnux

DS2438 adding data

Hi,
I tried to add VAD value of an DS2438 but I'm was not able to manage this.
All other data are transmitted perfectly.
Is this possible by adding a section in the Mqttowfs.conf ?
If so - may I kindly ask for an example?
Thanks

make fails

Make fails, any idea why?
os: raspbian buster

pi@taloLogger:~/MqttOwfs$ cmake . -G"Unix Makefiles"
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/MqttOwfs
pi@taloLogger:~/MqttOwfs$ make
Scanning dependencies of target MqttOwfs
[  2%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/FragFramework/src/Plateforms.cpp.o
[  5%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/FragFramework/src/SafeFunctions.cpp.o
[  7%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/FragFramework/src/StringTools.cpp.o
[ 10%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/MqttDaemon/src/MqttBase.cpp.o
[ 12%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/MqttDaemon/src/MqttClient.cpp.o
[ 15%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/MqttDaemon/src/MqttDaemon.cpp.o
[ 17%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/MqttDaemon/src/MqttLogger.cpp.o
[ 20%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/owfscpp/src/owfscpp.cpp.o
[ 23%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/ServiceSkeleton/src/Service.cpp.o
[ 25%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/SimpleFolder/src/SimpleFolders.cpp.o
[ 28%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/SimpleIni/src/SimpleIni.cpp.o
[ 30%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/SimpleLog/src/SimpleLog.cpp.o
[ 33%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/SimpleSock/src/SimpleSock.cpp.o
[ 35%] Building CXX object src/CMakeFiles/MqttOwfs.dir/__/dependencies/SimpleSock/src/SimpleSockTCP.cpp.o
[ 38%] Building CXX object src/CMakeFiles/MqttOwfs.dir/MqttOwfs.cpp.o
/home/pi/MqttOwfs/src/MqttOwfs.cpp: In member function ‘virtual int MqttOwfs::DaemonLoop(int, char**)’:
/home/pi/MqttOwfs/src/MqttOwfs.cpp:512:30: warning: unused parameter ‘argc’ [-Wunused-parameter]
 int MqttOwfs::DaemonLoop(int argc, char* argv[])
                          ~~~~^~~~
/home/pi/MqttOwfs/src/MqttOwfs.cpp:512:42: warning: unused parameter ‘argv’ [-Wunused-parameter]
 int MqttOwfs::DaemonLoop(int argc, char* argv[])
                                    ~~~~~~^~~~~~
[ 41%] Building CXX object src/CMakeFiles/MqttOwfs.dir/owDevice.cpp.o
[ 43%] Building CXX object src/CMakeFiles/MqttOwfs.dir/main.cpp.o
[ 46%] Linking CXX executable bin/MqttOwfs
/usr/bin/ld: CMakeFiles/MqttOwfs.dir/__/dependencies/MqttDaemon/src/MqttBase.cpp.o: in function `MqttBase::Unsubscribe(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
MqttBase.cpp:(.text+0x220): undefined reference to `MQTTProperties_free'
/usr/bin/ld: MqttBase.cpp:(.text+0x228): undefined reference to `MQTTProperties_free'
/usr/bin/ld: MqttBase.cpp:(.text+0x238): undefined reference to `MQTTProperties_free'
/usr/bin/ld: CMakeFiles/MqttOwfs.dir/__/dependencies/MqttDaemon/src/MqttBase.cpp.o: in function `MqttBase::~MqttBase()':
MqttBase.cpp:(.text+0x804): undefined reference to `MQTTProperties_free'
/usr/bin/ld: MqttBase.cpp:(.text+0x9d0): undefined reference to `MQTTProperties_free'
/usr/bin/ld: CMakeFiles/MqttOwfs.dir/__/dependencies/MqttDaemon/src/MqttBase.cpp.o:MqttBase.cpp:(.text+0xde4): more undefined references to `MQTTProperties_free' follow
/usr/bin/ld: CMakeFiles/MqttOwfs.dir/__/dependencies/MqttDaemon/src/MqttBase.cpp.o: in function `mqtt::exception::printable_error(int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
MqttBase.cpp:(.text._ZN4mqtt9exception15printable_errorEiiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN4mqtt9exception15printable_errorEiiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x20c): undefined reference to `MQTTReasonCode_toString'
/usr/bin/ld: /usr/local/lib/libpaho-mqttpp3.so: undefined reference to `MQTTAsync_setMessageArrivedCallback'
/usr/bin/ld: /usr/local/lib/libpaho-mqttpp3.so: undefined reference to `MQTTProperties_add'
/usr/bin/ld: /usr/local/lib/libpaho-mqttpp3.so: undefined reference to `MQTTProperties_getPropertyAt'
/usr/bin/ld: /usr/local/lib/libpaho-mqttpp3.so: undefined reference to `MQTTAsync_setConnectionLostCallback'
/usr/bin/ld: /usr/local/lib/libpaho-mqttpp3.so: undefined reference to `MQTTAsync_setDisconnected'
/usr/bin/ld: /usr/local/lib/libpaho-mqttpp3.so: undefined reference to `MQTTAsync_malloc'
/usr/bin/ld: /usr/local/lib/libpaho-mqttpp3.so: undefined reference to `MQTTAsync_setUpdateConnectOptions'
/usr/bin/ld: /usr/local/lib/libpaho-mqttpp3.so: undefined reference to `MQTTProperties_copy'
/usr/bin/ld: /usr/local/lib/libpaho-mqttpp3.so: undefined reference to `MQTTAsync_strerror'
/usr/bin/ld: /usr/local/lib/libpaho-mqttpp3.so: undefined reference to `MQTTProperty_getType'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/MqttOwfs.dir/build.make:326: src/bin/MqttOwfs] Error 1
make[1]: *** [CMakeFiles/Makefile2:115: src/CMakeFiles/MqttOwfs.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

mqttlog not working?

bjr bjr

I just compiled MqttOwfs , as I'm looking for a solution to send mqtt messages to Home assistant on state changes of ds2408 latch.ALL, ...

not yet sure it will work, new to HA & MQTT https://www.home-assistant.io/docs/mqtt/discovery/

Now, I don't see any messages published subscribing to the topic with mqttlens
(while I see them if I manually publish from homeassistant)

I tried lg debugging
https://github.com/FragJage/MqttDaemon/wiki/Configuration

[mqttlog] enable=true level=7

sudo MqttOwfs -restart root@DietPi:/# 2021-01-23 20:45:23 ERROR MqttOwfs.cpp l.136 DevicesConfigure Device 'mqttlog' is improperly formatted, it must contain a '/'.

So the mqttlog section is not recognized ?

I can see the client is registered in the mosquito broker. no messages there either though not sure

owserver reading is ok
2021-01-23 20:28:56 VERBOSE MqttOwfs.cpp l.283 OwDeviceAdd Device created 'LatchALLdoors' : '29.8B1000000000/latch.ALL' (round -1)
2021-01-23 20:28:56 TRACE MqttOwfs.cpp l.371 RefreshValue Read value for '29.8B1000000000/latch.ALL'
2021-01-23 20:28:56 VERBOSE MqttOwfs.cpp l.380 RefreshValue New value for '29.8B1000000000/latch.ALL' : '0,0,0,0,0,0,1,0'
2021-01-23 20:28:57 DEBUG MqttOwfs.cpp l.494 DaemonLoop *** Enter ***

merci!

Host name instead of IP address in the configuration file

Hi,

due to the SimpleSock TCP library on which this project is based, it is apparently not possible to specify a hostname instead of an IP address in the [owfs] section of the configuration file.
It would make sense if this were possible, because not all environments have fixed IP addresses.

MQTT Broker Username and Password

hi,

is it possible to use Authentication with Username and Password at the MQTT Broker? I tried several different ways, but no one seems to work:

export MQTT_C_CLIENT_USERNAME=myuser
export MQTT_C_CLIENT_USERNAME=mypassword

server=myuser:[email protected]

server=127.0.0.1
username=myuser
password=mypassword

Make fails "Cannot find source files"

`pi@HomeLogger:~/MqttOwfs$ cmake . -G"Unix Makefiles"
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Configuring done
CMake Error at src/CMakeLists.txt:71 (add_executable):
  Cannot find source file:

    ../dependencies/FragFramework/src/Plateforms.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


CMake Error at test/CMakeLists.txt:77 (add_executable):
  Cannot find source file:

    ../dependencies/SimpleSock/src/SimpleSock.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


CMake Error: CMake can not determine linker language for target: MqttOwfs
CMake Error: Cannot determine link language for target "MqttOwfs".
CMake Error: CMake can not determine linker language for target: unittest
CMake Error: Cannot determine link language for target "unittest".
-- Generating done
-- Build files have been written to: /home/pi/MqttOwfs
`

refresh interfal for device,values and uncached

Hi,

it was cool, to set the refresh interfall for devices, too.

Like this:
[owfs]
server=192.168.10.58
port=4304
devicesinterval=5
valuesinterval=4

[28.FF633A751603/temperature9]
displayname = TemperatureSalon
round = 1
devicesinterval=1
valuesinterval=1
uncached= true

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.