Project - requirements

28 views
Skip to first unread message

Tuxfux Tutor

unread,
Jan 22, 2018, 8:10:47 AM1/22/18
to Lamp_tutorial
All,

Is any one interested in taking up this project ?

Thanks,
Tuxfux



---------- Forwarded message ----------
From: Purandhar Reddy <kpurandh...@gmail.com>
Date: Mon, Jan 22, 2018 at 4:37 PM
Subject:
To: santosh kumar <tuxfu...@gmail.com>


Hi Team,

in the attached file we have to read file and look for these lines

Received Battery Data msg from Node 001bc50670103c64
Received Temparature Data msg from Node: 001bc50670103c64 26c
Received RSSI msg from Node 001bc50670103c64 Node RSSI -57 GW RSSI -67


once u look u have to keep a range for all say Temparature Data is in  20  to 40 c pass else fail.
same has to be RSSI etc


and the output has to print 001bc50670103c64 pass
                                            001bc50670103c67  fail (if not in range)

output should save to excel




--
Thanks,
Tuxfux
----------------------------------------------------------------------
https://www.khyaathitechnologies.com/contact
gateway_testing.txt

Purandhar Reddy

unread,
Jan 23, 2018, 1:02:49 AM1/23/18
to Tuxfux Tutor, Lamp_tutorial
one of my friend helped me a bit. can you tune this ASAP.
import re
#from openpyxl import Workbook
list = []
checkTemp = range(16,40)
check_RSSI = range(30,80)
Temp_range = range(20,40)
count = 0
my_list=[]
def Tempvalidation(new_list):
#print (new_list)
temp = " "
node = []
flag_temp = False
flag_rssi = False
for data in new_list:
#print (data)
if(re.findall(r'^Received Temparature', data)):
if(re.findall(r'Node(.*?)value', data)):
node = re.findall(r'Node(.*?)value', data)
if (int(float((data.split(" ")[-1]).rstrip()))) in checkTemp:
flag_temp = True
temp = float((data.split(" ")[-1]).rstrip())
else:
#print ("I have returend")
pass
elif(re.findall(r'^Received RSSI', data)):
#print(abs(int(data.split(" ")[-1])))
if (abs(int(data.split(" ")[-1])) in check_RSSI):
#print (data.split(" ")[-1])
flag_rssi = True

else:
pass
else:
pass
if (flag_rssi and flag_temp):
print ('pass: ', node, flag_temp)
else:
pass



with open('C:\\Users\purendhar\Downloads\gateway_testing.txt', 'r') as file:
for line in file:
if (re.findall(r'^Received Battery', line)):
list.append(line)
count =count + 1
elif re.findall(r'^Received Temparature', line):
list.append(line)
count = count + 1
elif re.findall(r'^Received RSSI', line):
list.append(line)
count = count + 1
else:
pass
if count == 3:
#print (list)
Tempvalidation(list)
count = 0
list=[]

else:
pass
#print (list)


Virus-free. www.avast.com

--
You received this message because you are subscribed to the Google Groups "Lamp_tutorial" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lamp_tutorial+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yashees Sri

unread,
Aug 11, 2025, 9:53:56 AMAug 11
to Tuxfux Tutor, Lamp_tutorial
Hi Sir,

I need help in learning Django framework.  I also need to help with respect to my work immediately. Please let me know if any one is available. 

Vishwa

unread,
Aug 11, 2025, 10:06:23 AMAug 11
to Yashees Sri, Tuxfux Tutor, Lamp_tutorial
Hello Yashees Sri, 
Check for “coding for entrepreneurs” channel from YouTube 



On Mon, Aug 11, 2025 at 9:53 AM Yashees Sri <yash...@gmail.com> wrote:
Hi Sir,

I need help in learning Django framework.  I also need to help with respect to my work immediately. Please let me know if any one is available. 

--
You received this message because you are subscribed to the Google Groups "Lamp_tutorial" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lamp_tutoria...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/lamp_tutorial/CAHDVo4Oqaz_dNra6HrWw0CSP_8uRKL1jvy3UzphFj%3DXKZeF%2Bnw%40mail.gmail.com.

Tuxfux Tutor

unread,
Aug 11, 2025, 12:45:03 PMAug 11
to Yashees Sri, Lamp_tutorial
Yashees sri,

You can followup on following projects to get started:

Project 1:
you can also follow this community - Django Girls - start your journey with programming
Project 2:
you can try this application too.

Lastly, try to google for some good django projects . It should get you started. Any queries let us know.

Thanks,
Santosh D

On Mon, Aug 11, 2025 at 7:23 PM Yashees Sri <yash...@gmail.com> wrote:
Hi Sir,

I need help in learning Django framework.  I also need to help with respect to my work immediately. Please let me know if any one is available. 


--
Thanks,
Tuxfux
----------------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages