Domoticz.., iam done with you!

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

Moderators: leecollings, remb0

janvier123
Posts: 36
Joined: Saturday 17 September 2016 22:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz.., iam done with you!

Post by janvier123 »

Software on Raspberry Pi:

- Domoticz
- Node Red
- LAMP (Not used atm)
- Weewx
- MQTT

Current Hardware: https://www.gotron.be/projecten/bouwkit ... i-3-b.html

Code: Select all

This kit contains the following items:

    -Raspberry Pi 3 B
    -Micro USB charger 5V 2.5A
    -Micro USB memory card 8GB Transcend
    -Black case original
Hardware connected:
- USB => 1 DCduino (Arduino Uno clone)
- USB => Weather Station, but USB is used for data only, runs on 3x AA batt.
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Domoticz.., iam done with you!

Post by Egregius »

Do you have internal sensors activated? What does the memory and cpu usage say?
janvier123
Posts: 36
Joined: Saturday 17 September 2016 22:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz.., iam done with you!

Post by janvier123 »

Nope

Any command for checking CPU / mem stats? i used "top"

Image
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Domoticz.., iam done with you!

Post by Egregius »

try "top -o %MEM" to have top sorted by memory.
You have lots of memory in use, even part of your swap is in use. I never have that on any of my Pies.

If you add "Motherboard sensors" to the Domoticz hardware you'll get graphs of cpu and memory usage.
janvier123
Posts: 36
Joined: Saturday 17 September 2016 22:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz.., iam done with you!

Post by janvier123 »

Wow allot more,

Image
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Domoticz.., iam done with you!

Post by Egregius »

There you see the most memory hungry threads.
Do you need them all? Are you sure you want to run MySQL on a Pi?
And what do you do with Python? Seems that Python took already lots of cpu time.
janvier123
Posts: 36
Joined: Saturday 17 September 2016 22:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz.., iam done with you!

Post by janvier123 »

I was thinking about getting more PI's and spread the joy
ques you right, i need to clean it up

Its all a bit new to me so ... any help is greatly appreciated !
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Domoticz.., iam done with you!

Post by Egregius »

If you have a good backup you could consider reinstalling a new SD card and start over.
Then, only install what you really need. You'll see that it'll be lots faster and stable.
janvier123
Posts: 36
Joined: Saturday 17 September 2016 22:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz.., iam done with you!

Post by janvier123 »

not too keen on backing up, i know what ive installed and the only thing i want to safe is Node Red
But i need the following:

- Domoticz
- Weewx
- Node Red
- mosquitto (MQTT)
- Website (PHP)

Ill order some more :)
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Domoticz.., iam done with you!

Post by Egregius »

I don't see MySQL in your list.
Start with removing that one. Could already be the solution.
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Domoticz.., iam done with you!

Post by EdwinK »

janvier123 wrote:not too keen on backing up, i know what ive installed and the only thing i want to safe is Node Red

With backing up you make sure that you still can use this when domoticz or your Pi crashes.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
asjmcguire
Posts: 71
Joined: Saturday 13 July 2013 2:45
Target OS: Linux
Domoticz version: 3.5877
Location: Scotland
Contact:

Re: Domoticz.., iam done with you!

Post by asjmcguire »

I have Domoticz running on an Acer T180 desktop machine running Ubuntu Server. It will shortly be moving to a Raspberry Pi3.
Hardware: (USB) => RFXComm, ZWave, CC128, LAN => 12 1Wire sensors on a network.

Feeding stuff into Domoticz and even controlling Domoticz using JSON URLS and MQTT messages is childsplay. I've have monit watching over Domoticz since the early days because there used to be a strange bug that caused the webserver part of Domoticz to crash (ie the interface would say offline), but the core program kept running - timers would still switch stuff on and off, you just had no interface.

As an example - at night I say "OK Google, Goodnight House" and IFTTT posts to my webserver, my webserver publishes an MQTT command which NodeRed intercepts and executes a specific PHP script (named in the MQTT message). The PHP script using nothing but MQTT messages performs the following:

Send a notification to ALL devices registered with JOIN. Switch on bedroom lights, Switch off Kitchen, Stop NOWTV from Streaming, Switch off AVR. Wait 15 seconds. Switch off Livingroom. Wait 60 seconds. Switch off Hall. Wait 60 seconds. Switch off ALL downstairs lights. Set the nightmode user variable to 1. Tell the Google Home device to speak "The house mode has now been set to night mode, Goodnight!". Send a notification to all devices registered with JOIN - to confirm night mode has been set.

Your belief that you are tied to specific hardware and software is flawed, for example - I've been using the CC128 for years which is not as of 3.5877 a natively supported device (for 3 phase). As I started with Tellstick, and still have some critical hardware relying on it - I've always had a workaround for the lack of support, and have just recently upgraded with the use of PiZeroW's being so low cost, MQTT messages now control the Tellstick on the remote PiZeroW - which controls the switching on and off of the attic fans.

Off the shelf systems are generally reliable, but they aren't as versatile and can be very costly to add to. Software like Domoticz doesn't tie you to any specific hardware, and because you can update it with JSON and MQTT messages - virtual sensors and switches can be used to cover any hardware that isn't natively supported.

(Also I would agree with others, there is absolutely no need to be sending the temperature more often than once every few minutes, the majority of my devices send every 5 minutes, though you will note that battery operated devices - like my OWL CM180 - changes how often it transmits based on the value it is transmitting, eg if the electricity use is 300w, it might only broadcast every few minutes, but if the use is 3.26kW it might broadcast every 30 seconds)
AEOTEC ZStick, 11 ZWave Nodes, RFXCOMM, 50ish Byron Sockets.. HE851 (PIR), 2x HE852 (DoorContact)
WS2300, CM180, CC128, 2xTHGR122NX, 2xPiZeroW w/DS18B20, 8Ch 1W Relay Board.
8 Panasonic IP Cams, 1 16ch CCTV DVR + 15 CCTV Cams
janvier123
Posts: 36
Joined: Saturday 17 September 2016 22:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz.., iam done with you!

Post by janvier123 »

why moving to Pi3 ?
Even the poll that ive made showed allot of PI 3 users, but why not a PC with allot more memory, storage, cpu ... etc?
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Domoticz.., iam done with you!

Post by Derik »

Sorry That i break in...
Only My board is using a lot of memory and then crash...
With the command : top -o %MEM
I see a lot op phyton.. used by root...
ScreenShot228.jpg
ScreenShot228.jpg (129.27 KiB) Viewed 2089 times
is this normal?
How can witch script is root using?

In my eyes i do use only 4-5 phyton scripts...
How can i stop this other scripts??
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest