Solar powered 3G/4G CCTV Sytsem

@nayr What are your thoughts on camera config for my solar setup?

I found a M2M sim card provider in australia with good rates which should allow my cameras to be accessable.

How do i go about configuring the modem/router and 2 cameras for live streaming to iDMSS? Should i just set the cameras up on their own ddns domains. Or should i read more into setting up a VPN?

FYI this is the modem/router i am getting: Teltonika RUT950 Industrial 3G+4G+4GX Modem Router

The modem/router supports Open VPN and DYNDNS
 
Last edited:
RFC 3024 - Reverse Tunneling for Mobile IP, revised
Reverse connection - Wikipedia

Vendors are free to implement a reverse proxy back into your network however they wish; but the fundimentals are the same.. the most common method used among neckbeards is the reverse ssh tunnel, google it.

Yes I know reverse tunnel thru SSH I use it on some of my servers and also those reverse proxy (developped some myself) but according to what I sniffed on network activity this is not the way P2P camera protocol works.

But iI will read the RFC3024
 
upload_2017-2-18_22-18-37.png

For my Caravan i use an LTE Network System, OVPN over an public IPV4 German Server (20 Euro/year using a raspi as ovpn server). So the missing public address doesn´t bother me.
The picture shows today/yesterday/actual week/actual month/previous month from Fritzbox 6480 LTE status monitor.

I have 2 cams at the camp (HFW4431 + Trendnet 3MP). Both are sending to 4 Tinyipcammonitor widgets with 1 picture / h and P2P is also enabled.
Sometimes i watch the events, and the events are also sending high quality pictures.

You can see, it consumes much traffic. But its not only the p2p... 1 mail has about 600kb, The video stream is also at my maximum upload (around 7-8Mbit). I like to use maximum quality :cool:. This consumes much traffic, if i sometimes watch a bit longer the weathercam.

But there are some traffic optimizations I am going to do in the near future. If I use smart codec it reduces the traffic enormously, my new weather cam hdw5231 only needs 5-6KB/s at night and around 60KB/s at day! Compared to 360KB/s at night and 600KB/s at day. The same amount of storage is saved when viewing records. But i should say, it depends on the viewed object. Does it have much frequent changing parts, it saved traffic is not so huge. Unfortunately with smart codec you will loose IVS functionality and it´s only normal motion detection possible.

If you want i can switch off p2p to compare for a day the amount of used traffic.

But I have another problem with your solar power calculation. First of all, where is the calculation of the estimated power production/year for your location? Next, 11W seems is not enough for everything. I guess you don´t want to use a 120V Line step up regulator? I am not sure, if it is possible for the cams to work between 11,5V and 14,4-14,8V which brings the solar charger. I should be proven, if it doesn´t damage the cams. And the router must also run on this voltage.
My fritzbox lte + raspi needs 9W at 230V...
On my location i have arounf 220kw / year with a 250W panel and a micro inverter. It´s the cheapest and easiest solution, but it needs land power. It´s not an island solution.
For batteries you should not discharge below 50%, a next expensive factor. On summer time it´s normally no problem, but in winter you have maybe months without any charging! (snow on the panels, poor sun power). 2 days backup time is not much. p.e. in summer time with 12h sun I get 1,5kw, in winter with 6h sun only 200w.
for your calc with 264W/day = 96,3KW/year means in winter months about 8kw to be nearly alone powered by battery. With a 50% discharge rate you need 16kw of battery power. Giant!

A maybe better solution is a hybrid charger, with a diesel generator or a wind generator who charges the battery when they are going to low. Never did this, but its possible.
 
Last edited:
I am not sure, if it is possible for the cams to work between 11,5V and 14,4-14,8V which brings the solar charger. I should be proven, if it doesn´t damage the cams. And the router must also run on this voltage.
You never get power directly from solar cells it always go thru a egulator that will manage the voltage coming from the solar cells and provide right voltage to batteries and a steady 12V output for your devices.
 
The solar chargers I know doesn't have a separate 12V regulated power outlet. This means, a little bit energy consumption. It's much less than using a sinus wave regulator for 120/230V , but it has also to be calculated for battery runtime.
A very well working solar charger with mppt has an efficiency for over 98% but the regulator may reduce it to 90%.
When such high battery capacity is needed, a 24V System is better, and for this you find more hybrid charger (wind and solar) p.e. phaesun

I don't see that is really for 2000 dollar at offgrid realistic.
 
View attachment 15288
But I have another problem with your solar power calculation. First of all, where is the calculation of the estimated power production/year for your location? Next, 11W seems is not enough for everything. I guess you don´t want to use a 120V Line step up regulator? I am not sure, if it is possible for the cams to work between 11,5V and 14,4-14,8V which brings the solar charger. I should be proven, if it doesn´t damage the cams. And the router must also run on this voltage.
My fritzbox lte + raspi needs 9W at 230V...
On my location i have arounf 220kw / year with a 250W panel and a micro inverter. It´s the cheapest and easiest solution, but it needs land power. It´s not an island solution.
For batteries you should not discharge below 50%, a next expensive factor. On summer time it´s normally no problem, but in winter you have maybe months without any charging! (snow on the panels, poor sun power). 2 days backup time is not much. p.e. in summer time with 12h sun I get 1,5kw, in winter with 6h sun only 200w.
for your calc with 264W/day = 96,3KW/year means in winter months about 8kw to be nearly alone powered by battery. With a 50% discharge rate you need 16kw of battery power. Giant!

A maybe better solution is a hybrid charger, with a diesel generator or a wind generator who charges the battery when they are going to low. Never did this, but its possible.

My calculations are based on daily consumption. No inverters are needed. The camera and modem/router both run off the 12V regulator load output with low voltage disconnect. Look at the power specs for the RTU950 and HDSW2320R-ZS.... maximum power consumption is 13.5W. I estimate to average 11W per hour.
 
I have been doing some reading on setting up my 4G modem VPN and already understand DDNS. If i want to have 2-3 cameras connected to the 4G modem/router. Do i not need to worry about ddns setting in each camera?

If i just use iDMSS with the ddns setting to my VPN 4G modem with username + password credentials, will iDMSS find all 3 cameras connected to the router?
 
If i just use iDMSS with the ddns setting to my VPN 4G modem with username + password credentials, will iDMSS find all 3 cameras connected to the router?
I suppose your router can act as DHCP server so set static IP for each Mac Address of your cameras
 
  • Like
Reactions: Kymadn
It was not clear for me that you don't want to achieve 100% uptime. With cutting of on low voltage it works, exempt on bad weather and winter.
Anyway, I wouldn't advice to connect them directly to the battery. The maximum voltage of 14,8V is dangerous (depends on battery type).

What's your purpose for this setup?
 
It was not clear for me that you don't want to achieve 100% uptime. With cutting of on low voltage it works, exempt on bad weather and winter.
Anyway, I wouldn't advice to connect them directly to the battery. The maximum voltage of 14,8V is dangerous (depends on battery type).

What's your purpose for this setup?

It will have a 100% uptime. Dont forget i am in sunny Northern Territory Australia. Where i live it's hot all year round, there is no winter. Not connecting anything directly to the battery, the equipment is fused and connected to the load output of the solar regulator.
 
Would i still need to forward the camera ports, or not in the case of using a VPN?
If your router is able to mount a VPN then no need to forward any port as you'll be able to reach the camera directly thru this VPN.

But question is how do you plan to create/mount this VPN ? usually it is your client machine that connect to the VPN server but to mount this VPN you need to be able to reach the public IP of the router that act as VPN server and reach it's VPN port if your router support OpenSSL on 443 for example. I don't know your VPN skills but here is a VPN primer thread here VPN Primer for Noobs

Or if you don't want to mount a VPN then you'll have to create one port translation per camera.
 
Last edited:
If your router is able to mount a VPN then no need to forward any port as you'll be able to reach the camera directly thru this VPN.

But question is how do you plan to create/mount this VPN ? usually it is your client machine that connect to the VPN server but to mount this VPN you need to be able to reach the public IP of the router that act as VPN server and reach it's VPN port if your router support OpenSSL on 443 for example. I don't know your VPN skills but here is a VPN primer thread here VPN Primer for Noobs

Or if you don't want to mount a VPN then you'll have to create one port translation per camera.

My M2M sim card will allow me to have a public IP. It wont be a static IP so i would need to use ddns.

To be honest i havent setup a VPN yet. I have forwarded ports from a static IP NVR + used ddns successfully. My router (RUT950) can do OpenVPN and can be set as a client or server.

My system wont have an NVR so i am not sure how iDMSS would find the connected cameras to the LAN ports of the router using a VPN. I would assume in iDMMS i would add the VPN client by Add device>IP/DOMAIN. So how would i access each camera once login in to the VPN?

I just received the modem/router today. The sim card should come tomorrow. Camera is still on back order but i will be ready to configure soon
 
Last edited:
ok that is nice. So you seems to have plenty solar power :cool: And 2 days is maximum for bad weather? Not more? Are you using it in a dessert?
In this case you maybe need to think about high temperatures in summer.

you configure in iDMSS the local IP, and the only thing is you need to start the vpn tunnel or maybe it can autostart if using a ip from vpn. Thats all and simple.
 
ok that is nice. So you seems to have plenty solar power :cool: And 2 days is maximum for bad weather? Not more? Are you using it in a dessert?
In this case you maybe need to think about high temperatures in summer.

That is the weird thing with solar panels, they need sun to provide power but if its too hot the efficienty goes down.

Solar energy is really expensive if you do not live in a sunny region because you have to get more batteries to be able to provide enought power during bad weather and also more solar panels because when sun come back you need enough power to run your system/devices plus enough power to reload the batteries as fast as possible before sun go away again ;-)
 
I have thought more about high working temperatures for the cam. And the sdcard is maybe also a special one (p.e. Kingston industrial for high temperature range and MLC flash)
 
I have a industrial modem which is rated to an operational temperature of 60 degrees Celsius (140 Fahrenheit). The average Temperature here is 34 degrees Celcius (93 Fahrenheit).

I will post pics of the build soon
 
I have nearly one month stopped p2p for my lte setup. It causes around 7 Gb traffic for one cam. It is more than I expected!
Screenshot_2017-03-12-11-53-34.jpg
 
Last edited:
I use primary ovpn with a fipbox from feste-ip.net I don't really need p2p. I was a test over winter, because I had enough Gb left in my lte Flatrate with 30gb.