On 17/04/2020, michael form <[email protected]> wrote:
> Glenn:
>
> Thank you for your response.
>
> apt show ow-python <<< does not show anything
Ah, that's just me and the keyboard having issues again!
> apt show python-ow <<< returns 3.2p3+dfg1-2
>
> apt show owserver returns info so I assume that owserver is installed.
Ah, actually. I've given you the wrong command. To list installed
packages try the following
apt list --installed | grep owserver
apt list --installed | grep python-ow
Post the results of those commands
> Do I need to uninstall things as per the referred post??
>
> - Start from a fresh system (no other owfs components installed) and
> install owserver and ow-shell:
> $ sudo apt install owserver ow-shell
Nope. For a start, just give it try with...
sudo apt install owserver ow-shell
That should replace anything stale, or that's considered to clash.
> - Delete (as root) the hyper-verbose default debian /etc/owfs.conf file
> and use this minimal config:
> server: usb = all
> server: port = 4304
Definitely do the above.
Those 2 lines are all that needs to be in the /etc/owfs.conf file for
this configuration to work.
> - Enable and start the owserver
> $ sudo systemctl stop owserver
> $ sudo systemctl enable owserver
> $ sudo systemctl start owserver
>
You could add a status check just to make sure it's all good
sudo systemctl status owserver # that should work, but I'm not a systemctl user.
> Current {OWFS}
> interface = u
> driver = user.owfs
> [[sensor map]]
> outTemp = /uncached/28.6E175D040000/temperature
>
>
> Do I just need to change the "u" to localhost:4304 or any other changes
> need to be made??
That's it
[OWFS]
interface = localhost:4304
driver = user.owfs
[[sensor map]]
outTemp = /uncached/28.6E175D040000/temperature
(Although I have had one configuration baulk at localhost, using
127.0.0.1 worked ? interface = 127.0.0.1:4304)
> Sorry for all of the questions as I said that I design hardware and am
> familiar with Windows. Linux is a new experience for me.
> Then again, I might as well spend the time at home learning new things. :)
Agreed. An opportunity for us all :-)
--
Cheers
Glenn
rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/CAAraAzibEmXKQiGpb%3DLKPDnDHo%2BbqwmfodG9fe7%2Bzw19FtoxNg%40mail.gmail.com.